Report errors for unrecognized options.

This commit is contained in:
gord 2001-09-22 06:06:17 +00:00
parent e9d94149ef
commit eca369e8d0

View file

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