summaryrefslogtreecommitdiff
path: root/contrib/autorpm
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/autorpm')
-rw-r--r--contrib/autorpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/autorpm b/contrib/autorpm
index e111af02..6a5f7620 100644
--- a/contrib/autorpm
+++ b/contrib/autorpm
@@ -6,7 +6,7 @@ _autorpm()
local cur
COMPREPLY=()
- cur=`_get_cword`
+ _get_comp_words_by_ref cur
COMPREPLY=( $( compgen -W '--notty --debug --help --version auto add \
fullinfo info help install list remove set' -- "$cur" ) )