aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/pq.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-03-27 21:22:25 +0100
committerGuido Günther <agx@sigxcpu.org>2014-03-27 21:22:25 +0100
commite1780f0e457e9dbdba6d6f1b0c5cb3e4780cf7f7 (patch)
treed349a6098c5764d3a879fc705a011adc09e3f7c1 /gbp/scripts/pq.py
parentbbf21bf366ff0d248f9c06b1cff600f339b8655e (diff)
Fix command output
The first line lacked the subcommand like: $ gbp pull --help Usage: gbp [options] - safely update a repository from remote instead of $ gbp pull --help Usage: gbp pull [options] - safely update a repository from remote ^^^^
Diffstat (limited to 'gbp/scripts/pq.py')
-rwxr-xr-xgbp/scripts/pq.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py
index 41d3ddf8..5e941262 100755
--- a/gbp/scripts/pq.py
+++ b/gbp/scripts/pq.py
@@ -212,8 +212,7 @@ def switch_pq(repo, current):
def parse_args(argv):
try:
- parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
- usage="%prog [options] action - maintain patches on a patch queue branch\n"
+ parser = GbpOptionParserDebian(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"