summaryrefslogtreecommitdiff
path: root/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'example.py')
-rw-r--r--example.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/example.py b/example.py
index a6fd2c2..c86aaea 100644
--- a/example.py
+++ b/example.py
@@ -38,6 +38,10 @@ 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)
+
+ self.settings.string(['nono'], 'nono', default=None)
+
# We override process_inputs to be able to do something after the last
# input line.
def process_inputs(self, args):