diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-09-17 19:52:32 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-09-17 20:08:33 +0200 |
commit | beaee6e09d654664614d85e924c14bc74314f2ca (patch) | |
tree | 9ccd9813344494b83383b027afa7de44ed3f91ab /gbp | |
parent | ee0e9ffe0a69d1ae1080f8087725015ae0ff8bc4 (diff) |
Add --[no]-interactive to avoid prompts
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py index 9a6a3c53..9d443d13 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -67,6 +67,7 @@ class GbpOptionParser(OptionParser): 'pbuilder' : 'False', 'dist' : 'sid', 'arch' : '', + 'interactive' : 'True', } help = { 'debian-branch': @@ -111,6 +112,8 @@ class GbpOptionParser(OptionParser): "Build for this distribution when using git-pbuilder, default is '%(dist)s'", 'arch': "Build for this architecture when using git-pbuilder, default is '%(arch)s'", + 'interactive': + "Run command interactive, default is '%(interactive)s'", } config_files = [ '/etc/git-buildpackage/gbp.conf', os.path.expanduser('~/.gbp.conf'), |