summaryrefslogtreecommitdiff
path: root/openstackclient/api/auth.py
diff options
context:
space:
mode:
authorMarek Denis <marek.denis@cern.ch>2014-11-17 10:27:50 +0100
committerMarek Denis <marek.denis@cern.ch>2014-11-17 09:50:12 +0000
commitc1b376dc333398903007f3f26ebd81378071bdcb (patch)
tree0cf73ce3fc7e101c32586e261f258c289311fb9d /openstackclient/api/auth.py
parenta9670b4cf0d2f8e98e62c25e6379311ef66ea01b (diff)
downloadpython-openstackclient-c1b376dc333398903007f3f26ebd81378071bdcb.tar.gz
Add environment variable in the os-auth-type help
Help for option --os-auth-type doesn't specify what environment variable configures it. This patch fixes that. Change-Id: Id2e29e477d5ca56339bd777fb73b5af13788615b
Diffstat (limited to 'openstackclient/api/auth.py')
-rw-r--r--openstackclient/api/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/api/auth.py b/openstackclient/api/auth.py
index e19c6b79..bfb2f83a 100644
--- a/openstackclient/api/auth.py
+++ b/openstackclient/api/auth.py
@@ -136,7 +136,8 @@ def build_auth_plugins_option_parser(parser):
default=utils.env('OS_AUTH_TYPE'),
help='Select an auhentication type. Available types: ' +
', '.join(available_plugins) +
- '. Default: selected based on --os-username/--os-token',
+ '. Default: selected based on --os-username/--os-token' +
+ ' (Env: OS_AUTH_TYPE)',
choices=available_plugins
)
# make sur we catch old v2.0 env values