Show the usage when the -p/--printresult options are used alone.
This commit is contained in:
parent
2dc9b54e3f
commit
f50889ba8b
|
@ -35,6 +35,8 @@ if [ "$#" != 0 ]; then
|
|||
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
|
||||
usage true
|
||||
exit 0;
|
||||
elif [ "$1" = "-p" ] || [ "$1" = "--printresult" ]; then
|
||||
usage false; exit 0;
|
||||
elif [ "$1" = "--version" ]; then
|
||||
run=true
|
||||
args="$1"
|
||||
|
|
Loading…
Reference in New Issue