mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
create_manpage_completions: Also clear already_output_completions
Prevents issues if we try to read a manpage twice - in which case we could fall back to another parser, creating different results. Fixes #9787
This commit is contained in:
parent
56743ae770
commit
5f672ece84
@ -837,6 +837,8 @@ def parse_manpage_at_path(manpage_path, output_directory):
|
||||
|
||||
# Clear the output list
|
||||
built_command_output[:] = []
|
||||
global already_output_completions
|
||||
already_output_completions = {}
|
||||
|
||||
if DEROFF_ONLY:
|
||||
parsers = [TypeDeroffManParser()]
|
||||
|
Loading…
x
Reference in New Issue
Block a user