Explorar el Código

mklive.sh: Handle unknown switch by displaying usage info.

mobinmob hace 7 años
padre
commit
48f7b70759
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      mklive.sh.in

+ 1 - 0
mklive.sh.in

@@ -315,6 +315,7 @@ while getopts "a:b:r:c:C:T:Kk:l:i:I:s:S:o:p:h" opt; do
         C) BOOT_CMDLINE="$OPTARG";;
         T) BOOT_TITLE="$OPTARG";;
         h) usage;;
+	*) usage;;
     esac
 done
 shift $((OPTIND - 1))