fix(help): add missing references to variants 3a & 4 (#201)

This commit is contained in:
Rob Gill 2018-05-25 00:35:57 +10:00 committed by Stéphane Lesimple
parent e54e8b3e84
commit 17a3488505

View File

@ -124,6 +124,8 @@ opt_verbose=1
opt_variant1=0 opt_variant1=0
opt_variant2=0 opt_variant2=0
opt_variant3=0 opt_variant3=0
opt_variant3a=0
opt_variant4=0
opt_allvariants=1 opt_allvariants=1
opt_no_sysfs=0 opt_no_sysfs=0
opt_sysfs_only=0 opt_sysfs_only=0
@ -532,7 +534,7 @@ while [ -n "$1" ]; do
shift shift
elif [ "$1" = "--variant" ]; then elif [ "$1" = "--variant" ]; then
if [ -z "$2" ]; then if [ -z "$2" ]; then
echo "$0: error: option --variant expects a parameter (1, 2 or 3)" >&2 echo "$0: error: option --variant expects a parameter (1, 2, 3, 3a or 4)" >&2
exit 255 exit 255
fi fi
case "$2" in case "$2" in