diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-03-27 21:22:25 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-03-27 21:22:25 +0100 |
commit | e1780f0e457e9dbdba6d6f1b0c5cb3e4780cf7f7 (patch) | |
tree | d349a6098c5764d3a879fc705a011adc09e3f7c1 /gbp/scripts/pq.py | |
parent | bbf21bf366ff0d248f9c06b1cff600f339b8655e (diff) | |
download | git-buildpackage-e1780f0e457e9dbdba6d6f1b0c5cb3e4780cf7f7.tar.gz git-buildpackage-e1780f0e457e9dbdba6d6f1b0c5cb3e4780cf7f7.tar.bz2 git-buildpackage-e1780f0e457e9dbdba6d6f1b0c5cb3e4780cf7f7.zip |
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-x | gbp/scripts/pq.py | 3 |
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" |