diff options
| author | Alan Pevec <apevec@redhat.com> | 2013-02-16 23:28:05 +0100 |
|---|---|---|
| committer | Alan Pevec <apevec@redhat.com> | 2013-03-08 12:31:12 +0100 |
| commit | ae36809fdecdedd09abf23eeadf2374c77b8a8df (patch) | |
| tree | 4f46e63177fdedab1d9ec810f409b8d45b6b5285 /keystoneclient/shell.py | |
| parent | f46aea4e969f37a90c3d0c3aaae73c9119579e5c (diff) | |
| download | python-keystoneclient-ae36809fdecdedd09abf23eeadf2374c77b8a8df.tar.gz | |
help text improvements
from comments in Ibbc7fab2033d8f037262b465b98d1713579adfc2
v2: synced to the README
manpage will be updated in https://review.openstack.org/#/c/20976
Change-Id: I33006a4b935b9272fd99775936a17b3cfd08e294
Diffstat (limited to 'keystoneclient/shell.py')
| -rw-r--r-- | keystoneclient/shell.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/keystoneclient/shell.py b/keystoneclient/shell.py index 7d52619..b75f9f6 100644 --- a/keystoneclient/shell.py +++ b/keystoneclient/shell.py @@ -84,7 +84,8 @@ class OpenStackIdentityShell(object): parser.add_argument('--version', action='version', - version=keystoneclient.__version__) + version=keystoneclient.__version__, + help="Shows the client version and exits") parser.add_argument('--debug', default=False, @@ -208,7 +209,7 @@ class OpenStackIdentityShell(object): default=env('OS_CACHE', default=False), action='store_true', help='Use the auth token cache. ' - 'Default to env[OS_CACHE]') + 'Defaults to env[OS_CACHE]') parser.add_argument('--os_cache', help=argparse.SUPPRESS) @@ -216,12 +217,12 @@ class OpenStackIdentityShell(object): default=False, action="store_true", dest='force_new_token', - help="If keyring is available and in used, " + help="If the keyring is available and in use, " "token will always be stored and fetched " - "from the keyring, until the token has " + "from the keyring until the token has " "expired. Use this option to request a " "new token and replace the existing one " - "in keyring.") + "in the keyring.") parser.add_argument('--stale-duration', metavar='<seconds>', |
