bash-completion: update text-utils

hexdump:

	Add --color option.

	Commit: 098ab0778f

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-04-11 21:37:40 +01:00
parent e4fc3d574c
commit 768f315230
No known key found for this signature in database
GPG Key ID: A9553245FDE9B739
1 changed files with 5 additions and 0 deletions

View File

@ -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