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

This commit is contained in:
mobinmob 2018-06-05 12:06:20 +03:00 committed by Michael Aldridge
parent 4567280b7a
commit 48f7b70759

View File

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