From 91c9df2154834eefdeecac8cff4a3b17449a9ad0 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 10 Sep 2015 16:49:35 -0400 Subject: [PATCH] added verbosity to ansible-doc to make it easier to trace down issues --- lib/ansible/cli/doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/doc.py b/lib/ansible/cli/doc.py index e82b3ab642b..e6457342f30 100644 --- a/lib/ansible/cli/doc.py +++ b/lib/ansible/cli/doc.py @@ -94,7 +94,7 @@ class DocCLI(CLI): continue try: - doc, plainexamples, returndocs = module_docs.get_docstring(filename) + doc, plainexamples, returndocs = module_docs.get_docstring(filename, verbose=(self.options.verbosity > 0)) except: self.display.vvv(traceback.print_exc()) self.display.error("module %s has a documentation error formatting or is missing documentation\nTo see exact traceback use -vvv" % module)