summaryrefslogtreecommitdiff
path: root/example.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-01-19 11:27:06 +0000
committerLars Wirzenius <liw@liw.fi>2013-01-19 11:27:06 +0000
commitef5c5d523598fecf69e7f484764a8e95fcf03cbc (patch)
tree3b6c2a2248efd491320b6c8ba1e921740462bdf1 /example.py
parent7c3f3b2dbb4d838bade1df787a7e5bcb754cfd83 (diff)
downloadcliapp-ef5c5d523598fecf69e7f484764a8e95fcf03cbc.tar.gz
Add config_group_name
Diffstat (limited to 'example.py')
-rw-r--r--example.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/example.py b/example.py
index a6fd2c2..7e2a4a7 100644
--- a/example.py
+++ b/example.py
@@ -38,6 +38,8 @@ class ExampleApp(cliapp.Application):
self.settings.boolean(['dummy'], 'this setting is ignored',
group='Test Group')
+ self.settings.string(['yoyo'], 'yoyo', group=cliapp.config_group_name)
+
# We override process_inputs to be able to do something after the last
# input line.
def process_inputs(self, args):