diff options
Diffstat (limited to 'completions/tcpnice')
-rw-r--r-- | completions/tcpnice | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/tcpnice b/completions/tcpnice index 0302d46d..c6a94d6b 100644 --- a/completions/tcpnice +++ b/completions/tcpnice @@ -12,11 +12,11 @@ _tcpnice() ;; esac - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '$(_parse_usage "$1")' -- "$cur") ) + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '$(_parse_usage "$1")' -- "$cur")) fi } && -complete -F _tcpnice tcpnice + complete -F _tcpnice tcpnice # ex: filetype=sh |