aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@debian.org>2016-12-08 15:04:23 +0200
committerGuido Günther <agx@sigxcpu.org>2016-12-08 14:49:54 +0100
commitd9b28f9ee7175f990553eb152e0995b63b37db47 (patch)
treebb30d6121997cc13cc9dba2228c4c51e65e4fa42 /bin
parentbf4afbe0c7ca648684a0e3b0b96e73d9af6665c8 (diff)
gbp-mock: handle single letter options
by properly handling '-?' to request help output. Closes: #847464
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gbp-builder-mock2
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