mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-25 12:20:20 +00: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:
@@ -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")
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user