mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
TOOLS/zsh.pl: fix _arguments line
Don't use _x_arguments, as we don't support X arguments. Get rid of -s, because we don't support multiple single-letter options in one argument. Add -S, because we ignore options after "--".
This commit is contained in:
parent
bbc005825a
commit
7450a7f531
@ -37,7 +37,7 @@ my $tmpl = <<"EOS";
|
|||||||
|
|
||||||
# mpv zsh completion
|
# mpv zsh completion
|
||||||
|
|
||||||
_x_arguments -C -s \\
|
_arguments -C -S \\
|
||||||
$opts_str
|
$opts_str
|
||||||
'*:files:->mfiles'
|
'*:files:->mfiles'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user