about summary refs log tree commit diff
diff options
context:
space:
mode:
authormobinmob <mobinmob@disroot.org>2018-06-05 12:06:20 +0300
committerLeah Neukirchen <leah@vuxu.org>2019-01-15 23:11:10 +0100
commit18129faba0ac7d1e38a3116dc1bfbec5caaab012 (patch)
treeceac1ff3f82fcac4bb7fc54a51a3048aafe7fb87
parent9c883e71a0a6e90faf24edb7190217d4392cde83 (diff)
downloadhrmpf-18129faba0ac7d1e38a3116dc1bfbec5caaab012.tar.gz
hrmpf-18129faba0ac7d1e38a3116dc1bfbec5caaab012.tar.xz
hrmpf-18129faba0ac7d1e38a3116dc1bfbec5caaab012.zip
mklive.sh: Handle unknown switch by displaying usage info.
-rw-r--r--mklive.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/mklive.sh.in b/mklive.sh.in
index 9b973b3..c6b9afd 100644
--- a/mklive.sh.in
+++ b/mklive.sh.in
@@ -342,6 +342,7 @@ while getopts "a:A:B:b:r:c:C:T:Kk:l:i:I:s:S:o:p:U:h" opt; do
         C) BOOT_CMDLINE="$OPTARG";;
         T) BOOT_TITLE="$OPTARG";;
         h) usage;;
+	*) usage;;
     esac
 done
 shift $((OPTIND - 1))