mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue