nixos/fish: adapt completions patch to fish 3.2.0

This commit is contained in:
Vincent Haupert
2021-03-06 16:26:22 -08:00
committed by Cole Helbling
parent 62f9a381a0
commit b012891437
@@ -1,13 +1,14 @@
--- a/create_manpage_completions.py --- a/create_manpage_completions.py
+++ b/create_manpage_completions.py +++ b/create_manpage_completions.py
@@ -844,10 +844,6 @@ def parse_manpage_at_path(manpage_path, output_directory): @@ -879,10 +879,6 @@ def parse_manpage_at_path(manpage_path, output_directory):
)
built_command_output.insert(0, "# " + CMDNAME) return False
- # Output the magic word Autogenerated so we can tell if we can overwrite this - # Output the magic word Autogenerated so we can tell if we can overwrite this
- built_command_output.insert( - built_command_output.insert(
- 1, "# Autogenerated from man page " + manpage_path - 0, "# " + CMDNAME + "\n# Autogenerated from man page " + manpage_path
- ) - )
# built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABILE PARSER! Was really using Type2 but reporting TypeDeroffManParser # built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABLE PARSER! Was really using Type2 but reporting TypeDeroffManParser
for line in built_command_output: for line in built_command_output: