summaryrefslogtreecommitdiff
path: root/example4.py
diff options
context:
space:
mode:
Diffstat (limited to 'example4.py')
-rw-r--r--example4.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/example4.py b/example4.py
index 94e009c..9f3ddf1 100644
--- a/example4.py
+++ b/example4.py
@@ -23,6 +23,9 @@ class ExampleApp(cliapp.Application):
def setup(self):
self.add_subcommand('insult', self.insult, hidden=True)
+
+ def add_settings(self):
+ self.settings.string(['yoyo'], 'yoyo help', hidden=True)
def cmd_greet(self, args):
'''Greet the user.