diff options
author | Tzafrir Cohen <tzafrir@debian.org> | 2016-12-08 15:04:23 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-12-08 14:49:54 +0100 |
commit | d9b28f9ee7175f990553eb152e0995b63b37db47 (patch) | |
tree | bb30d6121997cc13cc9dba2228c4c51e65e4fa42 | |
parent | bf4afbe0c7ca648684a0e3b0b96e73d9af6665c8 (diff) |
gbp-mock: handle single letter options
by properly handling '-?' to request help output.
Closes: #847464
-rwxr-xr-x | bin/gbp-builder-mock | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gbp-builder-mock b/bin/gbp-builder-mock index 1e934936..3a251a6f 100755 --- a/bin/gbp-builder-mock +++ b/bin/gbp-builder-mock @@ -38,7 +38,7 @@ usage() { while [ $# != 0 ]; do case "$1" in - --help|-h|-?) usage 0;; + --help|-h|-\?) usage 0;; *.spec) SPEC="$1";; esac shift |