diff options
Diffstat (limited to 'completions/lftpget')
-rw-r--r-- | completions/lftpget | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/lftpget b/completions/lftpget index 1583500c..d21622eb 100644 --- a/completions/lftpget +++ b/completions/lftpget @@ -5,10 +5,10 @@ _lftpget() local cur prev words cword _init_completion || return - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '-c -d -v' -- "$cur") ) + if [[ $cur == -* ]]; then + COMPREPLY=($(compgen -W '-c -d -v' -- "$cur")) fi } && -complete -F _lftpget lftpget + complete -F _lftpget lftpget # ex: filetype=sh |