mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
bash completion: complete ao/af/vo/vf options
I didn't handle these originally, but it turns out that they can be handled with the samel logic as Choice options.
This commit is contained in:
parent
8676f4616c
commit
6799f8e0e9
@ -50,7 +50,7 @@ _mpv_get_args()
|
||||
Flag)
|
||||
candidates=("yes" "no" "help")
|
||||
;;
|
||||
Choices:)
|
||||
Choices:|Object)
|
||||
candidates=($(mpv $1=help | grep -v ':' | awk '{print $1;}'))
|
||||
candidates+=("help")
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user