summaryrefslogtreecommitdiff
path: root/cliff/app.py
diff options
context:
space:
mode:
authorDoug Hellmann <doug.hellmann@dreamhost.com>2012-04-29 17:25:11 -0400
committerDoug Hellmann <doug.hellmann@dreamhost.com>2012-04-29 17:25:11 -0400
commit94c14045d62788fb123f4316867778fa5337adae (patch)
tree69bcc341d972b2420e5c144f6484b2502576e9d2 /cliff/app.py
parent027ca037da952e9a4f7a1cd6ba5d92bc1ed1eea7 (diff)
downloadcliff-94c14045d62788fb123f4316867778fa5337adae.tar.gz
pass the App to the help action instead of passing just the command manager, since the app has the stout handle we want to use for printing the help
Diffstat (limited to 'cliff/app.py')
-rw-r--r--cliff/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cliff/app.py b/cliff/app.py
index 119f78a..eec2d5c 100644
--- a/cliff/app.py
+++ b/cliff/app.py
@@ -90,7 +90,7 @@ class App(object):
'-h', '--help',
action=HelpAction,
nargs=0,
- default=self.command_manager, # tricky
+ default=self, # tricky
help="show this help message and exit",
)
parser.add_argument(