diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-02-18 15:32:01 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-02-18 15:32:01 +0000 |
commit | 9e94d814c6ae07c3d5e8242754aebcce150265cc (patch) | |
tree | 2590d02e2f574f112a14b6d066de5e62a70baa99 | |
parent | 3223f32ec3d76acd600b5abd33305c59a7eea1fa (diff) | |
parent | d76387cc9fd06cde631848e642e03004c6e95c11 (diff) | |
download | python-cinderclient-1.3.0.tar.gz |
Merge "Add -d short option for --debug"1.3.0
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | cinderclient/shell.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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. Optional arguments: - --debug Print debugging output + -d, --debug Print debugging output --os-username <auth-user-name> Defaults to env[OS_USERNAME]. --os-password <auth-password> diff --git a/cinderclient/shell.py b/cinderclient/shell.py index 69946ea..a069b1e 100644 --- a/cinderclient/shell.py +++ b/cinderclient/shell.py @@ -125,7 +125,7 @@ class OpenStackCinderShell(object): action='version', version=cinderclient.__version__) - parser.add_argument('--debug', + parser.add_argument('-d', '--debug', action='store_true', default=utils.env('CINDERCLIENT_DEBUG', default=False), |