summaryrefslogtreecommitdiff
path: root/example2.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-29 09:18:37 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-29 09:18:37 +0100
commit5f2f4a2e9b9a600aaac727f14719282d896e6dee (patch)
treee02afc39ee0f5b709038aea60b4dc050a8ab4843 /example2.py
parent842dc148f7e7a273f6ef2954057fac5e199fb2fa (diff)
downloadcliapp-5f2f4a2e9b9a600aaac727f14719282d896e6dee.tar.gz
Add way to add more description after list of options.
Diffstat (limited to 'example2.py')
-rw-r--r--example2.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/example2.py b/example2.py
index f49105b..d2b94a6 100644
--- a/example2.py
+++ b/example2.py
@@ -36,9 +36,14 @@ class ExampleApp(cliapp.Application):
self.output.write('you suck, %s\n' % arg)
-app = ExampleApp(version='0.1.2', description='''\
+app = ExampleApp(version='0.1.2', description='''
Greet the user.
Or possibly insult them. User's choice.
+''',
+epilog='''
+This is the epilog.
+
+I hope you like it.
''')
app.settings.config_files = ['example.conf']
app.run()