From 48f7b7075910b02378814544302414034ec993b3 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Tue, 5 Jun 2018 12:06:20 +0300 Subject: [PATCH] mklive.sh: Handle unknown switch by displaying usage info. --- mklive.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/mklive.sh.in b/mklive.sh.in index e10feef..c56d29e 100644 --- a/mklive.sh.in +++ b/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))