aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/create_remote_repo.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/create_remote_repo.py
parent8358f1dcc77633c97a096ef6a93998f4099237c4 (diff)
Use a much simpler version to fix the command name in --help
mostly reverting e1780f0. Closes: #742907
Diffstat (limited to 'gbp/scripts/create_remote_repo.py')
-rw-r--r--gbp/scripts/create_remote_repo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py
index 95a10b00..c8c4a36a 100644
--- a/gbp/scripts/create_remote_repo.py
+++ b/gbp/scripts/create_remote_repo.py
@@ -245,7 +245,8 @@ def parse_args(argv, sections=[]):
else:
sections = []
- parser = GbpOptionParserDebian(usage='%prog [options] - '
+ parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
+ usage='%prog [options] - '
'create a remote repository',
sections=sections)
branch_group = GbpOptionGroup(parser,