detect wrong options

This commit is contained in:
marc committed 2020-09-16 09:12:39 +00:00
1 parent c52028c4ac
commit 3bb9c86e81
1 file changed
+1
+1
View File
@@ -151,6 +151,7 @@ DESCRIPTION
EOF
exit;;
(-*|--*) error "unknow option $1, try $0 --help"; exit 1;;
(*) error "unknow option $1, try $0 --help"; exit 1;;
esac
if test $# -eq 0; then