summaryrefslogtreecommitdiff
path: root/cliff/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'cliff/help.py')
-rw-r--r--cliff/help.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cliff/help.py b/cliff/help.py
index 1e4793e..cd427d7 100644
--- a/cliff/help.py
+++ b/cliff/help.py
@@ -39,7 +39,10 @@ class HelpCommand(Command):
def run(self, parsed_args):
if parsed_args.cmd:
try:
- cmd_factory, cmd_name, search_args = self.app.command_manager.find_command(parsed_args.cmd)
+ the_cmd = self.app.command_manager.find_command(
+ parsed_args.cmd,
+ )
+ cmd_factory, cmd_name, search_args = the_cmd
except ValueError:
# Did not find an exact match
cmd = parsed_args.cmd[0]