From f08f4759828c629a2c1e470116f40a948433587e Mon Sep 17 00:00:00 2001 From: EmilyGraceSeville7cf Date: Wed, 2 Oct 2024 01:57:58 +1000 Subject: [PATCH] fix(completion): -T option --- share/completions/dot.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/dot.fish b/share/completions/dot.fish index adb41757f..17e5b51e6 100644 --- a/share/completions/dot.fish +++ b/share/completions/dot.fish @@ -206,8 +206,8 @@ complete -c $command -s k \ -d 'Specify a render engine for a diagram' complete -c $command -s T \ - -a '(__fish_graphviz__print_formats)' \ - -d 'Specify a render engine for a diagram' + -a "(string split ' ' -- (__fish_graphviz__print_formats))" \ + -d 'Specify an output format for a diagram' complete -c $command -s l -d 'Specify a library for a diagram' complete -c $command -s n -f -d 'Specify a no-op flag for neato'