mklive.sh: Handle unknown switch by displaying usage info.
This commit is contained in:
parent
4567280b7a
commit
48f7b70759
@ -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";;
|
C) BOOT_CMDLINE="$OPTARG";;
|
||||||
T) BOOT_TITLE="$OPTARG";;
|
T) BOOT_TITLE="$OPTARG";;
|
||||||
h) usage;;
|
h) usage;;
|
||||||
|
*) usage;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $((OPTIND - 1))
|
shift $((OPTIND - 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user