24 lines
469 B
Bash
24 lines
469 B
Bash
# tracepath(8) completion -*- shell-script -*-
|
|
|
|
_tracepath()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
case $prev in
|
|
-l)
|
|
return
|
|
;;
|
|
esac
|
|
|
|
if [[ $cur == -* ]]; then
|
|
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
|
|
return
|
|
fi
|
|
|
|
_known_hosts_real "$cur"
|
|
} &&
|
|
complete -F _tracepath tracepath tracepath6
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|