summaryrefslogtreecommitdiff
path: root/heatclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r--heatclient/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py
index 4e5444a..b1ee0a9 100644
--- a/heatclient/shell.py
+++ b/heatclient/shell.py
@@ -295,7 +295,7 @@ class HeatShell(object):
# Handle top-level --help/-h before attempting to parse
# a command off the command line
- if options.help or not argv:
+ if not args and options.help or not argv:
self.do_help(options)
return 0