aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-12-20 15:51:22 +0100
committerGuido Günther <agx@sigxcpu.org>2010-12-20 15:55:18 +0100
commit2c94f9d4d2ef62c23b90f0a446d438beb87b6ba0 (patch)
tree5c96614ca69161c523124d50854d32d41a51773c /gbp
parent29feba8882bda6f52a88673a8ff8778716a347fe (diff)
Add option to open editor
Closes: #565553
Diffstat (limited to 'gbp')
-rw-r--r--gbp/config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py
index b3f4c536..61862f37 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -80,7 +80,8 @@ class GbpOptionParser(OptionParser):
'arch' : '',
'interactive' : 'True',
'color' : 'auto',
- 'customizations' : ''
+ 'customizations' : '',
+ 'spawn-editor' : 'release',
}
help = {
'debian-branch':
@@ -131,6 +132,8 @@ class GbpOptionParser(OptionParser):
"Run command interactive, default is '%(interactive)s'",
'color':
"color output, default is '%(color)s'",
+ 'spawn-editor':
+ "Wether to spawn an editor after adding the changelog entry, default is '%(spawn-editor)s'",
}
config_files = [ '/etc/git-buildpackage/gbp.conf',
os.path.expanduser('~/.gbp.conf'),