diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-28 15:53:21 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-28 15:53:21 +0100 |
commit | 185e8b9687fc31f2b97df88ed9fb887565cb0573 (patch) | |
tree | 302f5169ee2ddf0a8c12a55ed3b98208b49aa892 /example2.py | |
parent | 3e3af8f6ce7288d4f18a93376fe82c7494c2a4fd (diff) | |
download | cliapp-185e8b9687fc31f2b97df88ed9fb887565cb0573.tar.gz |
Add a longer description to subcommand, for testing --help output.
Diffstat (limited to 'example2.py')
-rw-r--r-- | example2.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/example2.py b/example2.py index a65a351..d354fed 100644 --- a/example2.py +++ b/example2.py @@ -28,7 +28,12 @@ import logging class ExampleApp(cliapp.Application): def cmd_greet(self, args): - '''Greet the user.''' + '''Greet the user. + + The user is treated to a a courteus, + but terse form of greeting. + + ''' for arg in args: self.output.write('greetings, %s\n' % arg) |