zsh-completion: do not complete removed options

This commit is contained in:
sfan5 2023-07-18 10:38:30 +02:00
parent a0d8962be8
commit da9c94989a
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ function _mpv_generate_arguments {
# Save this for later; we might not have parsed the target option yet
option_aliases+="$name $match[2]"
elif [[ $desc =~ $'^removed ' ]]; then
# skip
else
# Option takes argument