added verbosity to ansible-doc to make it easier to trace down issues
This commit is contained in:
parent
b35529b09f
commit
91c9df2154
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue