summaryrefslogtreecommitdiff
path: root/keystoneclient
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2012-03-13 23:00:22 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2012-03-13 23:00:22 -0500
commitdecf46c1cbda15d8944d5275b2651df2b8d47372 (patch)
treebb7dbfd15591df9a99f90bc61c65fd3691b665c0 /keystoneclient
parent8c824bd6397b585edaaa23067e21b5be9b581e77 (diff)
downloadpython-keystoneclient-decf46c1cbda15d8944d5275b2651df2b8d47372.tar.gz
CLI shows help without args (bug 936398)
Change-Id: If0adfc5283f725c797ee6043fbfc59a775d9b462
Diffstat (limited to 'keystoneclient')
-rw-r--r--keystoneclient/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/shell.py b/keystoneclient/shell.py
index ef98d64..388c283 100644
--- a/keystoneclient/shell.py
+++ b/keystoneclient/shell.py
@@ -159,7 +159,7 @@ class OpenStackIdentityShell(object):
# Handle top-level --help/-h before attempting to parse
# a command off the command line
- if options.help:
+ if not argv or options.help:
self.do_help(options)
return 0