summaryrefslogtreecommitdiffstats
path: root/pykolab/conf/__init__.py
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-04-13 11:11:34 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-04-15 12:12:27 +0200
commit140da5efe734a80617cca0fb8f7258251cb18718 (patch)
treed21a5839f2e787454c29a5c622aba4c29722d560 /pykolab/conf/__init__.py
parent2d951b3e4f6e88313f9f85891023af9075b3f77e (diff)
downloadpykolab-140da5efe734a80617cca0fb8f7258251cb18718.tar.gz
implementing --default, --yes and --quiet parameters for setup-kolab (#2598)
Diffstat (limited to 'pykolab/conf/__init__.py')
-rw-r--r--pykolab/conf/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pykolab/conf/__init__.py b/pykolab/conf/__init__.py
index 4b4d633..c5ed1d5 100644
--- a/pykolab/conf/__init__.py
+++ b/pykolab/conf/__init__.py
@@ -278,6 +278,12 @@ class Conf(object):
help = _("Set the debugging " + \
"verbosity. Maximum is 9, tracing " + \
"protocols like LDAP, SQL and IMAP."))
+
+ runtime_group.add_option( "-e", "--default",
+ dest = "answer_default",
+ action = "store_true",
+ default = False,
+ help = _("Use the default answer to all questions."))
runtime_group.add_option( "-l",
dest = "loglevel",