summaryrefslogtreecommitdiff
path: root/gbp/scripts/dch.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/dch.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/dch.py')
-rw-r--r--gbp/scripts/dch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py
index 30c90d16..a848d6d2 100644
--- a/gbp/scripts/dch.py
+++ b/gbp/scripts/dch.py
@@ -292,7 +292,8 @@ def main(argv):
branch = None
try:
- parser = GbpOptionParserDebian(usage='%prog [options] paths')
+ parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
+ usage='%prog [options] paths')
except ConfigParser.ParsingError as err:
gbp.log.err(err)
return 1