create_manpage_completions: Really ignore bundle/cargo

This commit is contained in:
Fabian Boehm 2023-06-01 18:17:38 +02:00
parent a913702b63
commit 81d91f1038

View file

@ -791,7 +791,7 @@ def parse_manpage_at_path(manpage_path, output_directory):
# Ignore some commands' gazillion man pages # Ignore some commands' gazillion man pages
# for subcommands - especially things we already have # for subcommands - especially things we already have
ignored_prefixes = [ ignored_prefixes = [
"bundle-" "bundle-",
"cargo-", "cargo-",
"ffmpeg-", "ffmpeg-",
"flatpak-", "flatpak-",
@ -802,7 +802,7 @@ def parse_manpage_at_path(manpage_path, output_directory):
"perf-", "perf-",
"perl", "perl",
"pip-", "pip-",
"zsh" "zsh",
] ]
for prefix in ignored_prefixes: for prefix in ignored_prefixes:
if CMDNAME.startswith(prefix): if CMDNAME.startswith(prefix):