Message ID | 20191030222707.10142-2-andrealmeid@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add --config argument for custom config filenames | expand |
diff --git a/check b/check index 981058c..a19b9dc 100755 --- a/check +++ b/check @@ -650,7 +650,7 @@ Miscellaneous: esac } -if ! TEMP=$(getopt -o 'do:q::x:h' --long 'quick::,exclude:,output:,help' -n "$0" -- "$@"); then +if ! TEMP=$(getopt -o 'do:q::x:h' --long 'device-only,quick::,exclude:,output:,help' -n "$0" -- "$@"); then exit 1 fi
"--device-only" option is described at the "Usage" help message and it's even parsed as an option by the main code. However, since it's not a parameter of getopt, when trying to use it will trigger a "unrecognized option". Fix that to allow usage of this option. Signed-off-by: André Almeida <andrealmeid@collabora.com> --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)