mirror of https://github.com/mpv-player/mpv
zsh-completion: do not complete removed options
This commit is contained in:
parent
a0d8962be8
commit
da9c94989a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue