completions/ffmpeg: Add missing parenthesis

Going by the other `string match`, this appears to just be missing a ")".

Fixes #8514
This commit is contained in:
Fabian Boehm 2022-09-26 15:11:58 +02:00 committed by GitHub
parent 51177ef0ae
commit 42602ba4fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,7 +284,7 @@ function __fish_ffmpeg_complete_filter
set -l filter_type all
if string match -rq -- '^-(vf(ilter)?|f(ilter)?:v)' (__fish_ffmpeg_last_arg)
set filter_type video
else if string match -rq -- '^-(af(ilter)?|f(ilter)?:a' (__fish_ffmpeg_last_arg)
else if string match -rq -- '^-(af(ilter)?|f(ilter)?:a)' (__fish_ffmpeg_last_arg)
set filter_type audio
end