diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-07-04 16:10:16 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-07-04 17:23:21 +0200 |
commit | 3b4912d70c576aeda70a9290d8e812029bc76a47 (patch) | |
tree | f0a3009854971910eb82958fbe3adc36dc9bc77c /gbp/config.py | |
parent | 700e1645d47ab6be23850cb38c66604534a5f4e5 (diff) |
config: always use 'gbp <cmd>' in help output
The {git,gbp}- versions went away ages ago
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gbp/config.py b/gbp/config.py index b7703773..3afd3a1f 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -512,12 +512,8 @@ class GbpOptionParser(OptionParser): self.parse_config_files() self.valid_options = [] - if self.command.startswith('git-') or self.command.startswith('gbp-'): - prog = self.command - else: - prog = "gbp %s" % self.command OptionParser.__init__(self, option_class=GbpOption, - prog=prog, + prog="gbp %s" % self.command, usage=usage, version='%s %s' % (self.command, gbp_version)) |