Skip to content

Commit

Permalink
fix ansible-doc regression from missing plugins (ansible#41167)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitzmahone authored Jun 6, 2018
1 parent 2be2a57 commit 087efe4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/ansible/cli/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ def run(self):
# 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)
Expand Down

0 comments on commit 087efe4

Please sign in to comment.