summaryrefslogtreecommitdiff
path: root/contrib/bind-utils
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bind-utils')
-rw-r--r--contrib/bind-utils2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bind-utils b/contrib/bind-utils
index 6c005392..040d1975 100644
--- a/contrib/bind-utils
+++ b/contrib/bind-utils
@@ -6,7 +6,7 @@ _nslookup()
local cur
COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]#-}
+ _get_comp_words_by_ref cur
COMPREPLY=( $( compgen -P '-' -W 'all class= debug d2 domain= srchlist= \
defname search port= querytype= type= recurse retry root timeout vc \