From 768f3152309e44c1a6b927c7d3597808738b5b85 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 11 Apr 2017 21:37:40 +0100 Subject: bash-completion: update text-utils hexdump: Add --color option. Commit: 098ab0778f5a46ab4519c8404fd4ba8ec137368b Signed-off-by: Sami Kerola --- bash-completion/hexdump | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bash-completion') diff --git a/bash-completion/hexdump b/bash-completion/hexdump index 9dc274076..80b1ab628 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 -- cgit v1.2.3-55-g7522