summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2020-02-08 09:31:47 -0800
committerPhilip Langdale <philipl@overt.org>2020-02-08 09:50:58 -0800
commit6799f8e0e94883d425d1517f15afb5e44a8cb87f (patch)
tree3bf5a69dbe6082c0afb4f636904c549c189ada66
parent8676f4616c6673c34cd265c738eb0fa31ef3ccdb (diff)
downloadmpv-6799f8e0e94883d425d1517f15afb5e44a8cb87f.tar.bz2
mpv-6799f8e0e94883d425d1517f15afb5e44a8cb87f.tar.xz
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.
-rw-r--r--etc/mpv.bash-completion2
1 files changed, 1 insertions, 1 deletions
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")
;;