From 2357c9f5778b96c15f87716d3294985f01af8a69 Mon Sep 17 00:00:00 2001 From: Jannik Vieten Date: Mon, 2 Jan 2023 17:45:25 +0100 Subject: [PATCH] completions wireshark: removed wrong interface completion for -I option (#9440) Wireshark completions for -I were wrong, since it doesn't take the network interface directly. It must still be specified with -i. --- share/functions/__fish_complete_wireshark.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_complete_wireshark.fish b/share/functions/__fish_complete_wireshark.fish index 427f85afa..1baaf115d 100644 --- a/share/functions/__fish_complete_wireshark.fish +++ b/share/functions/__fish_complete_wireshark.fish @@ -62,7 +62,7 @@ packets:\t"Switch to the next file after it contains N packets"' complete -c $shark -s i -ra '(__fish_wireshark_interface)' complete -c $shark -s i -ra '-\t"Capture from standard input"' \ -d 'Network interface or pipe to use for live packet capture' - complete -c $shark -s I -l monitor-mode -d 'Put the interface in "monitor mode"' -xa '(__fish_wireshark_interface)' + complete -c $shark -s I -l monitor-mode -d 'Put the interface in "monitor mode"' complete -c $shark -s L -l list-data-link-types -d 'List the data link types supported by the interface and exit' complete -c $shark -l list-time-stamp-types -d 'List time stamp types supported for the interface' complete -c $shark -s p -l no-promiscuous-mode -d "Don't put the interface into promiscuous mode"