fix truncated list functions in ansible-doc (#41281)
* fixed incomplete refactor of instance-level plugin list varpull/4420/head
parent
9f84c09bf3
commit
25ab2a8153
|
@ -118,7 +118,7 @@ class DocCLI(CLI):
|
|||
if self.options.list_files:
|
||||
paths = loader._get_paths()
|
||||
for path in paths:
|
||||
self.plugin_list = self.find_plugins(path, plugin_type)
|
||||
self.plugin_list.update(self.find_plugins(path, plugin_type))
|
||||
|
||||
list_text = self.get_plugin_list_filenames(loader)
|
||||
self.pager(list_text)
|
||||
|
@ -128,7 +128,7 @@ class DocCLI(CLI):
|
|||
if self.options.list_dir:
|
||||
paths = loader._get_paths()
|
||||
for path in paths:
|
||||
self.plugin_list = self.find_plugins(path, plugin_type)
|
||||
self.plugin_list.update(self.find_plugins(path, plugin_type))
|
||||
|
||||
self.pager(self.get_plugin_list_text(loader))
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue