Report errors for unrecognized options.

This commit is contained in:
gord committed 2001-09-22 06:06:17 +00:00
1 parent e9d94149ef
commit eca369e8d0
1 file changed
+5
+5
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