Commit 4805fa6b by Brian Coca

fix ansible-doc listing with new docstring

fixes #10295
parent ffb281d9
...@@ -197,7 +197,7 @@ def get_module_list_text(module_list): ...@@ -197,7 +197,7 @@ def get_module_list_text(module_list):
continue continue
try: try:
doc, plainexamples = module_docs.get_docstring(filename) doc, plainexamples, returndocs = module_docs.get_docstring(filename)
desc = tty_ify(doc.get('short_description', '?')).strip() desc = tty_ify(doc.get('short_description', '?')).strip()
if len(desc) > linelimit: if len(desc) > linelimit:
desc = desc[:linelimit] + '...' desc = desc[:linelimit] + '...'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment