diff options
author | Philip Langdale <philipl@overt.org> | 2020-02-08 09:31:47 -0800 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2020-02-08 09:50:58 -0800 |
commit | 6799f8e0e94883d425d1517f15afb5e44a8cb87f (patch) | |
tree | 3bf5a69dbe6082c0afb4f636904c549c189ada66 /etc/mpv.bash-completion | |
parent | 8676f4616c6673c34cd265c738eb0fa31ef3ccdb (diff) | |
download | mpv-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.
Diffstat (limited to 'etc/mpv.bash-completion')
-rw-r--r-- | etc/mpv.bash-completion | 2 |
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") ;; |