From: Sami Kerola Date: Tue, 11 Apr 2017 20:37:40 +0000 (+0100) Subject: bash-completion: update text-utils X-Git-Tag: v2.30-rc1~102^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=768f3152309e44c1a6b927c7d3597808738b5b85;p=thirdparty%2Futil-linux.git bash-completion: update text-utils hexdump: Add --color option. Commit: 098ab0778f5a46ab4519c8404fd4ba8ec137368b Signed-off-by: Sami Kerola --- diff --git a/bash-completion/hexdump b/bash-completion/hexdump index 9dc2740769..80b1ab6285 100644 --- a/bash-completion/hexdump +++ b/bash-completion/hexdump @@ -5,6 +5,10 @@ _hexdump_module() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in + '-L'|'--color') + COMPREPLY=( $(compgen -W "auto never always" -- $cur) ) + return 0 + ;; '-e'|'--format') COMPREPLY=( $(compgen -W "format" -- $cur) ) return 0 @@ -29,6 +33,7 @@ _hexdump_module() --two-bytes-decimal --two-bytes-octal --two-bytes-hex + --color= --format --format-file --length