aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 960d4b2e..35c78b40 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -126,6 +126,7 @@ class GbpOptionParser(OptionParser):
'pbuilder-autoconf' : 'True',
'pbuilder-options': '',
'template-dir': '',
+ 'remote-config': '',
}
help = {
'debian-branch':
@@ -210,7 +211,9 @@ class GbpOptionParser(OptionParser):
'pbuilder-options':
"Options to pass to pbuilder, default is '%(pbuilder-options)s'",
'template-dir':
- "Template directory used by git init, default is %(template-dir)s",
+ "Template directory used by git init, default is '%(template-dir)s'",
+ 'remote-config':
+ "Remote defintion in gbp.conf used to create the remote repository",
}
def_config_files = [ '/etc/git-buildpackage/gbp.conf',
@@ -358,6 +361,7 @@ class GbpOptionParser(OptionParser):
neg_help = "negates '--%s%s'" % (self.prefix, option_name)
self.add_config_file_option(option_name="no-%s" % option_name, dest=dest, help=neg_help, action="store_false")
+
class GbpOptionGroup(OptionGroup):
def add_config_file_option(self, option_name, dest, help=None, **kwargs):
"""