diff options
Diffstat (limited to 'completions/lz4')
-rw-r--r-- | completions/lz4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/completions/lz4 b/completions/lz4 index db8198f8..76c24bfa 100644 --- a/completions/lz4 +++ b/completions/lz4 @@ -13,9 +13,8 @@ _lz4() esac if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W \ - '$(_parse_help "$1" -h | command sed -e "/#/d") -B{4..7} -i{1..9}' \ - -- "$cur") ) + COMPREPLY=( $(compgen -X '-*#*' -W \ + '$(_parse_help "$1" -h) -B{4..7} -i{1..9}' -- "$cur") ) return fi |