diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-12-19 19:51:35 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-12-19 19:51:35 +0000 |
commit | 81a16738fff9aa3612d5f9e4550d3b695a0d09f1 (patch) | |
tree | a5aa9b46b4dfaf1440b7f05c17ff28215dec210d /example2.py | |
parent | b35d20142fb88795ed757611ae7416a67712e028 (diff) | |
download | cliapp-81a16738fff9aa3612d5f9e4550d3b695a0d09f1.tar.gz |
format subcommand descriptions in --help better
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 907fb59..f766d34 100644 --- a/example2.py +++ b/example2.py @@ -44,7 +44,12 @@ class ExampleApp(cliapp.Application): self.output.write('greetings, %s\n' % arg) def cmd_insult(self, args): - '''Insult the user.''' + '''Insult the user. + + Sometimes, though rarely, it happens that a user is really a bit of + a prat, and needs to be told off. This is the command for that. + + ''' for arg in args: self.output.write('you suck, %s\n' % arg) |