autospec: fix for the options requiring an argument
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
093aa4676c
commit
8eee8ae037
@ -134,7 +134,8 @@ deprecated option"" \`-r|--colorize': "$"use \`--colors' instead"
|
||||
# for backward compatibility
|
||||
color_scheme="default" ;;
|
||||
--colors)
|
||||
read_arg color_scheme "$@" || shift ;;
|
||||
read_arg color_scheme "$@" ||
|
||||
{ shift; args[${#args[*]}]="$1"; } ;;
|
||||
-h|--help)
|
||||
let "print_help = 1" ;;
|
||||
-V|--version)
|
||||
|
Loading…
Reference in New Issue
Block a user