diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-08-05 09:46:58 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-08-05 09:46:58 -0400 |
commit | 3f1430cd08e0f68d1df16ffd5ccd9c26f865d3da (patch) | |
tree | ae51cac480951e64b2de0fe24ffb6309829169e2 /cliff | |
parent | 9e778376f76a91277a063e851fa1c1ab1737480c (diff) | |
download | cliff-3f1430cd08e0f68d1df16ffd5ccd9c26f865d3da.tar.gz |
Fix interactive help command
Parse the line sent to default() so the type of the argument
matches the expectations of the method. Fixes bug #12.
Change-Id: I00437c01a816b70757e9833df0c6544e02e6a774
Diffstat (limited to 'cliff')
-rw-r--r-- | cliff/interactive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cliff/interactive.py b/cliff/interactive.py index 77aea9a..2d717a1 100644 --- a/cliff/interactive.py +++ b/cliff/interactive.py @@ -82,7 +82,7 @@ class InteractiveApp(cmd2.Cmd): # Dispatch to the underlying help command, # which knows how to provide help for extension # commands. - self.default('help ' + arg) + self.default(self.parsed('help ' + arg)) else: cmd2.Cmd.do_help(self, arg) cmd_names = [n for n, v in self.command_manager] |