diff options
Diffstat (limited to 'completions/tracepath')
-rw-r--r-- | completions/tracepath | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/tracepath b/completions/tracepath index 29dec3e8..176534f1 100644 --- a/completions/tracepath +++ b/completions/tracepath @@ -13,14 +13,14 @@ _tracepath() if [[ $cur == -* ]]; then local opts=$(_parse_help "$1") - COMPREPLY=( $(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur") ) + COMPREPLY=($(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur")) return fi local ipvx [[ $1 == *6 ]] && ipvx=-6 - _known_hosts_real $ipvx -- "$cur" + _known_hosts_real ${ipvx-} -- "$cur" } && -complete -F _tracepath tracepath tracepath6 + complete -F _tracepath tracepath tracepath6 # ex: filetype=sh |