From 0b8b53518784c714cae45b995b2b6723c8deb66b Mon Sep 17 00:00:00 2001 From: YAKSH BARIYA Date: Wed, 28 Jul 2021 21:23:44 +0530 Subject: [PATCH] Add completions for `gping` (#8181) --- share/completions/gping.fish | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 share/completions/gping.fish diff --git a/share/completions/gping.fish b/share/completions/gping.fish new file mode 100644 index 000000000..83a85ff3c --- /dev/null +++ b/share/completions/gping.fish @@ -0,0 +1,10 @@ +# Completion for https://github.com/orf/gping + +complete -x -c gping -d "Ping, but with a graph" +complete -x -c gping -l cmd -d "Graph execution time for this command" +complete -f -c gping -s h -l help -d "Print help information" +complete -f -c gping -s 4 -d "Resolve ping targets to IPv4 address" +complete -f -c gping -s 6 -d "Resolve ping targets to IPv6 address" +complete -f -c gping -s s -l simple-graphics -d "Use dot character instead of braille" +complete -x -c gping -s b -l buffer -d "Number of seconds to display on graph" +complete -x -c gping -s n -l watch-interval -d "Watch interval in seconds"