Merge "Add -d short option for --debug"

This commit is contained in:
Jenkins
2015-02-18 15:32:01 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ You'll find complete documentation on the shell by running
list-extensions List all the os-api extensions that are available. list-extensions List all the os-api extensions that are available.
Optional arguments: Optional arguments:
--debug Print debugging output -d, --debug Print debugging output
--os-username <auth-user-name> --os-username <auth-user-name>
Defaults to env[OS_USERNAME]. Defaults to env[OS_USERNAME].
--os-password <auth-password> --os-password <auth-password>

View File

@@ -125,7 +125,7 @@ class OpenStackCinderShell(object):
action='version', action='version',
version=cinderclient.__version__) version=cinderclient.__version__)
parser.add_argument('--debug', parser.add_argument('-d', '--debug',
action='store_true', action='store_true',
default=utils.env('CINDERCLIENT_DEBUG', default=utils.env('CINDERCLIENT_DEBUG',
default=False), default=False),