1 2 3 4 5 6 7 8 9 10 11 12 13 14
# lftpget(1) completion -*- shell-script -*- _lftpget() { local cur prev words cword _init_completion || return if [[ $cur == -* ]]; then COMPREPLY=($(compgen -W '-c -d -v' -- "$cur")) fi } && complete -F _lftpget lftpget # ex: filetype=sh