Be more explicit when the number of arguments is wrong
This is more in line with how unrecognized commands and options are reported.
This commit is contained in:
parent
fb3b0f76cb
commit
7cd0b3ce97
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ usage()
|
||||||
|
|
||||||
|
|
||||||
if [ "$#" -ne 1 ]; then
|
if [ "$#" -ne 1 ]; then
|
||||||
usage
|
echo "$0: wrong arguments"
|
||||||
|
echo "Try '$0 --help' for more information."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue