summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-03-04 15:39:06 +0100
committerBrian Coca <brian.coca+git@gmail.com>2015-03-04 15:39:06 +0100
commit4805fa6b0b2f77d10ad886a861fddaca84795c3d (patch)
tree9155786d2a8d3ad754415d8028c77664e309d967 /bin
parentMerge pull request #9600 from msabramo/make_AnsibleError_a_plain_ol_exception (diff)
downloadansible-4805fa6b0b2f77d10ad886a861fddaca84795c3d.tar.xz
ansible-4805fa6b0b2f77d10ad886a861fddaca84795c3d.zip
fix ansible-doc listing with new docstring
fixes #10295
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ansible-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-doc b/bin/ansible-doc
index 3447f9d090..dff7cecce7 100755
--- a/bin/ansible-doc
+++ b/bin/ansible-doc
@@ -197,7 +197,7 @@ def get_module_list_text(module_list):
continue
try:
- doc, plainexamples = module_docs.get_docstring(filename)
+ doc, plainexamples, returndocs = module_docs.get_docstring(filename)
desc = tty_ify(doc.get('short_description', '?')).strip()
if len(desc) > linelimit:
desc = desc[:linelimit] + '...'