detect wrong options
This commit is contained in:
@@ -151,6 +151,7 @@ DESCRIPTION
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
exit;;
|
exit;;
|
||||||
|
(-*|--*) error "unknow option $1, try $0 --help"; exit 1;;
|
||||||
(*) error "unknow option $1, try $0 --help"; exit 1;;
|
(*) error "unknow option $1, try $0 --help"; exit 1;;
|
||||||
esac
|
esac
|
||||||
if test $# -eq 0; then
|
if test $# -eq 0; then
|
||||||
|
Reference in New Issue
Block a user