summaryrefslogtreecommitdiff
path: root/heatclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r--heatclient/shell.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py
index 27e6a74..feaa329 100644
--- a/heatclient/shell.py
+++ b/heatclient/shell.py
@@ -236,11 +236,16 @@ class HeatShell(object):
httplib2.debuglevel = 1
+ def _setup_verbose(self, verbose):
+ if verbose:
+ exc.verbose = 1
+
def main(self, argv):
# Parse args once to find version
parser = self.get_base_parser()
(options, args) = parser.parse_known_args(argv)
self._setup_debugging(options.debug)
+ self._setup_verbose(options.verbose)
# build available subcommands based on version
api_version = options.heat_api_version