aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-09-26 10:31:48 +0200
committerGuido Günther <agx@sigxcpu.org>2014-09-26 10:32:59 +0200
commit90b283fefe8345eb7fd0f219bb64710cf535703a (patch)
treea6fad19481b8bd8d44eae1fa217fc2e78f765598
parent51ac0a5a7026301704b92d8fd6affd098a1442b5 (diff)
meta-closes: Move help text to GbpOptionParser.help
-rw-r--r--gbp/config.py2
-rw-r--r--gbp/scripts/dch.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 0580cc51..93506141 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -201,6 +201,8 @@ class GbpOptionParser(OptionParser):
"Include the full commit message instead of only the first line, default is '%(full)s'",
'meta':
"Parse meta tags in commit messages, default is '%(meta)s'",
+ 'meta-closes':
+ "Meta tags for the bts close commands, default is '%(meta-closes)s'",
'ignore-new':
"Build with uncommited changes in the source tree, default is '%(ignore-new)s'",
'ignore-branch':
diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py
index 0faa1b45..ce19c9a6 100644
--- a/gbp/scripts/dch.py
+++ b/gbp/scripts/dch.py
@@ -353,8 +353,7 @@ def build_parser(name):
help="Increment the Debian release number for a security upload and add a security upload changelog comment.")
version_group.add_boolean_config_file_option(option_name="git-author", dest="use_git_author")
commit_group.add_boolean_config_file_option(option_name="meta", dest="meta")
- commit_group.add_config_file_option(option_name="meta-closes", dest="meta_closes",
- help="Meta tags for the bts close commands, default is '%(meta-closes)s'")
+ commit_group.add_config_file_option(option_name="meta-closes", dest="meta_closes")
commit_group.add_boolean_config_file_option(option_name="full", dest="full")
commit_group.add_config_file_option(option_name="id-length", dest="idlen",
help="include N digits of the commit id in the changelog entry, default is '%(id-length)s'",