summaryrefslogtreecommitdiffstats
path: root/completions/lftpget
diff options
context:
space:
mode:
Diffstat (limited to 'completions/lftpget')
-rw-r--r--completions/lftpget10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/lftpget b/completions/lftpget
index d21622e..a41ad0c 100644
--- a/completions/lftpget
+++ b/completions/lftpget
@@ -1,14 +1,14 @@
# lftpget(1) completion -*- shell-script -*-
-_lftpget()
+_comp_cmd_lftpget()
{
- local cur prev words cword
- _init_completion || return
+ local cur prev words cword comp_args
+ _comp_initialize -- "$@" || return
if [[ $cur == -* ]]; then
- COMPREPLY=($(compgen -W '-c -d -v' -- "$cur"))
+ _comp_compgen -- -W '-c -d -v'
fi
} &&
- complete -F _lftpget lftpget
+ complete -F _comp_cmd_lftpget lftpget
# ex: filetype=sh