From c1b376dc333398903007f3f26ebd81378071bdcb Mon Sep 17 00:00:00 2001 From: Marek Denis Date: Mon, 17 Nov 2014 10:27:50 +0100 Subject: [PATCH] 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 --- openstackclient/api/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstackclient/api/auth.py b/openstackclient/api/auth.py index e19c6b7931..bfb2f83a47 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