detect wrong options
This commit is contained in:
1 parent
c52028c4ac
commit
3bb9c86e81
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user