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:
Debarshi Ray 2018-09-12 19:53:31 +02:00
parent fb3b0f76cb
commit 7cd0b3ce97

View file

@ -147,7 +147,8 @@ usage()
if [ "$#" -ne 1 ]; then
usage
echo "$0: wrong arguments"
echo "Try '$0 --help' for more information."
exit 1
fi