diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-02-10 10:33:11 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-02-10 10:33:11 +0000 |
commit | ca686ad12966980517fb6d2412b485023646bfcf (patch) | |
tree | 9b0e586f4d8e2843c0b9bd6a572ccb6c4b91ed16 /example4.py | |
parent | f8a7709e6c854180c7b0530370612d8c80422514 (diff) | |
download | cliapp-ca686ad12966980517fb6d2412b485023646bfcf.tar.gz |
Add hidden setting to example4.py
Diffstat (limited to 'example4.py')
-rw-r--r-- | example4.py | 3 |
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. |