diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-02-22 16:50:33 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-02-22 16:50:33 +0000 |
commit | 1025b02d57b15c9dee3be366d728aa7736d7f89f (patch) | |
tree | a73ca08850cf6e5ddb5cf3eaef62309e8c4a48ca /example.py | |
parent | cb4fe5a598e841d94f3ebff5231dd56799d14cb0 (diff) | |
download | cliapp-1025b02d57b15c9dee3be366d728aa7736d7f89f.tar.gz |
Add settings groups
Diffstat (limited to 'example.py')
-rw-r--r-- | example.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,9 @@ class ExampleApp(cliapp.Application): 'search for regular expression PATTERN', metavar='REGEXP') + self.settings.boolean(['dummy'], 'this setting is ignored', + group='Test Group') + # We override process_inputs to be able to do something after the last # input line. def process_inputs(self, args): |