Running PMD 6.16.0 through the CLI here. I set an alias using:
alias pmd="sh $HOME/pmd-bin-6.16.0/bin/run.sh pmd"
But I noticed that running pmd -help
returns a status code of 1 instead of 0. I believe simply printing the help command shouldn't be an error (status code different than zero).
$ echo $?
1
I'm working with a pipeline where I'm trying to test if PMD is installed, so I just try to run it. I know there are other ways to do this, but doing it this way I found this issue.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4