[Bash-completion-commits] [bash-completion] 03/03: tshark: Simplify cut usage
Ville Skyttä
scop-guest at moszumanska.debian.org
Mon Dec 29 09:38:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit 23bf3bd412adb3cfff774f019d8c376658d50152
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Dec 29 11:37:38 2014 +0200
tshark: Simplify cut usage
---
completions/tshark | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/completions/tshark b/completions/tshark
index 32f853f..57633a4 100644
--- a/completions/tshark
+++ b/completions/tshark
@@ -52,7 +52,7 @@ _tshark()
-O)
local prefix=; [[ $cur == *,* ]] && prefix="${cur%,*},"
COMPREPLY=( $( compgen -P "$prefix" -W \
- "$( "$1" -G protocols 2>&1 | cut -d$'\t' -f 3 )" \
+ "$( "$1" -G protocols 2>&1 | cut -f 3 )" \
-- "${cur##*,}" ) )
return
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list