From 8ce8771fe95f389da8867548aba2227d5ce57f42 Mon Sep 17 00:00:00 2001 From: Denis Cavalcante Date: Thu, 12 Feb 2015 05:49:16 -0800 Subject: [PATCH] Add -d short option for --debug Result: [-d, --debug] for printing debug messages Change-Id: Ia5db6d85bc474255be0fa11eca4babf057993fcc Closes-Bug: #1420936 --- manilaclient/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manilaclient/shell.py b/manilaclient/shell.py index fdf8e3dba..0ceea152c 100644 --- a/manilaclient/shell.py +++ b/manilaclient/shell.py @@ -307,7 +307,7 @@ class OpenStackManilaShell(object): action='version', version=manilaclient.__version__) - parser.add_argument('--debug', + parser.add_argument('-d', '--debug', action='store_true', default=cliutils.env('manilaclient_DEBUG', default=False),