summaryrefslogtreecommitdiff
path: root/contrib/ntpdate
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntpdate')
-rw-r--r--contrib/ntpdate3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/ntpdate b/contrib/ntpdate
index 233f69f1..bf004b55 100644
--- a/contrib/ntpdate
+++ b/contrib/ntpdate
@@ -6,8 +6,7 @@ _ntpdate()
local cur prev
COMPREPLY=()
- cur=`_get_cword`
- prev=${COMP_WORDS[COMP_CWORD-1]}
+ _get_comp_words_by_ref cur prev
case $prev in
-k)