detect wrong options

This commit is contained in:
2020-09-16 09:12:39 +00:00
parent c52028c4ac
commit 3bb9c86e81

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