fix ansible-doc regression from missing plugins (#41167)
This commit is contained in:
parent
2be2a572d6
commit
087efe4232
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue