summaryrefslogtreecommitdiff
path: root/cinderclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'cinderclient/shell.py')
-rw-r--r--cinderclient/shell.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cinderclient/shell.py b/cinderclient/shell.py
index 6307fdb..d36294b 100644
--- a/cinderclient/shell.py
+++ b/cinderclient/shell.py
@@ -143,9 +143,8 @@ class OpenStackCinderShell(object):
parser.add_argument('--os-auth-system',
metavar='<os-auth-system>',
dest='os_auth_type',
- default=utils.env('OS_AUTH_SYSTEM',
- default=utils.env('OS_AUTH_TYPE')),
- help=_('DEPRECATED! Use --os-auth-type.'
+ default=utils.env('OS_AUTH_SYSTEM'),
+ help=_('DEPRECATED! Use --os-auth-type. '
'Defaults to env[OS_AUTH_SYSTEM].'))
parser.add_argument('--os_auth_system',
help=argparse.SUPPRESS)