fix ansible-doc regression from missing plugins (#41167)

pull/41270/head
Matt Davis 8 years ago committed by GitHub
parent 2be2a572d6
commit 087efe4232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,7 +156,10 @@ class DocCLI(CLI):
# process command line list
text = ''
for plugin in self.args:
text += self.format_plugin_doc(plugin, loader, plugin_type, search_paths)
textret = self.format_plugin_doc(plugin, loader, plugin_type, search_paths)
if textret:
text += textret
if text:
self.pager(text)

Loading…
Cancel
Save