added verbosity to ansible-doc to make it easier to trace down issues

pull/12315/head
Brian Coca 9 years ago
parent b35529b09f
commit 91c9df2154

@ -94,7 +94,7 @@ class DocCLI(CLI):
continue continue
try: try:
doc, plainexamples, returndocs = module_docs.get_docstring(filename) doc, plainexamples, returndocs = module_docs.get_docstring(filename, verbose=(self.options.verbosity > 0))
except: except:
self.display.vvv(traceback.print_exc()) 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) self.display.error("module %s has a documentation error formatting or is missing documentation\nTo see exact traceback use -vvv" % module)

Loading…
Cancel
Save