summaryrefslogtreecommitdiffstats
path: root/completions/autorpm
diff options
context:
space:
mode:
Diffstat (limited to 'completions/autorpm')
-rw-r--r--completions/autorpm12
1 files changed, 6 insertions, 6 deletions
diff --git a/completions/autorpm b/completions/autorpm
index d55322a..3e67091 100644
--- a/completions/autorpm
+++ b/completions/autorpm
@@ -1,14 +1,14 @@
# autorpm(8) completion -*- shell-script -*-
-_autorpm()
+_comp_cmd_autorpm()
{
- local cur prev words cword
- _init_completion || return
+ local cur prev words cword comp_args
+ _comp_initialize -- "$@" || return
- COMPREPLY=($(compgen -W '--notty --debug --help --version auto add
- fullinfo info help install list remove set' -- "$cur"))
+ _comp_compgen -- -W '--notty --debug --help --version auto add fullinfo
+ info help install list remove set'
} &&
- complete -F _autorpm autorpm
+ complete -F _comp_cmd_autorpm autorpm
# ex: filetype=sh