From 6799f8e0e94883d425d1517f15afb5e44a8cb87f Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sat, 8 Feb 2020 09:31:47 -0800 Subject: 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. --- etc/mpv.bash-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/mpv.bash-completion b/etc/mpv.bash-completion index 1a824cb690..60c1cabd51 100644 --- a/etc/mpv.bash-completion +++ b/etc/mpv.bash-completion @@ -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") ;; -- cgit v1.2.3