detect wrong options

master
Marc Wäckerlin 4 years ago
parent c52028c4ac
commit 3bb9c86e81
  1. 1
      scripts/template.sh

@ -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

Loading…
Cancel
Save