Report errors for unrecognized options.
This commit is contained in:
parent
e9d94149ef
commit
eca369e8d0
1 changed files with 5 additions and 0 deletions
|
@ -170,6 +170,11 @@ for option in "$@"; do
|
|||
# This is an undocumented feature...
|
||||
--debug)
|
||||
debug=yes ;;
|
||||
-*)
|
||||
echo "Unrecognized option \`$option'" 1>&2
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
if test "x$install_device" != x; then
|
||||
echo "More than one install_devices?" 1>&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue