mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
# process command line list
|
||||||
text = ''
|
text = ''
|
||||||
for plugin in self.args:
|
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:
|
if text:
|
||||||
self.pager(text)
|
self.pager(text)
|
||||||
|
|
Loading…
Add table
Reference in a new issue