summaryrefslogtreecommitdiff
path: root/gbp/scripts/pq.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-03-29 00:07:29 +0100
committerGuido Günther <agx@sigxcpu.org>2014-03-29 00:16:48 +0100
commit89f3005c606c80ff79ef7f52694104c891555ec3 (patch)
tree483a6759269ee5458d64360461c3b19a8f50c85d /gbp/scripts/pq.py
parent8358f1dcc77633c97a096ef6a93998f4099237c4 (diff)
downloadgit-buildpackage-89f3005c606c80ff79ef7f52694104c891555ec3.tar.gz
git-buildpackage-89f3005c606c80ff79ef7f52694104c891555ec3.tar.bz2
git-buildpackage-89f3005c606c80ff79ef7f52694104c891555ec3.zip
Use a much simpler version to fix the command name in --help
mostly reverting e1780f0. Closes: #742907
Diffstat (limited to 'gbp/scripts/pq.py')
-rwxr-xr-xgbp/scripts/pq.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py
index 5e941262..41d3ddf8 100755
--- a/gbp/scripts/pq.py
+++ b/gbp/scripts/pq.py
@@ -212,7 +212,8 @@ def switch_pq(repo, current):
def parse_args(argv):
try:
- parser = GbpOptionParserDebian(usage="%prog [options] action - maintain patches on a patch queue branch\n"
+ parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
+ usage="%prog [options] action - maintain patches on a patch queue branch\n"
"Actions:\n"
" export export the patch queue associated to the current branch\n"
" into a quilt patch series in debian/patches/ and update the\n"