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/create_remote_repo.py | |
parent | bbf21bf366ff0d248f9c06b1cff600f339b8655e (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/create_remote_repo.py')
-rw-r--r-- | gbp/scripts/create_remote_repo.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py index c8c4a36a..95a10b00 100644 --- a/gbp/scripts/create_remote_repo.py +++ b/gbp/scripts/create_remote_repo.py @@ -245,8 +245,7 @@ def parse_args(argv, sections=[]): else: sections = [] - parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='', - usage='%prog [options] - ' + parser = GbpOptionParserDebian(usage='%prog [options] - ' 'create a remote repository', sections=sections) branch_group = GbpOptionGroup(parser, |