chiark / gitweb /
hashmap: return more information from resize_buckets()
[elogind.git] / shell-completion / bash / timedatectl
index c6a6545257215201cf0f75cd0a0fe5eb888c6809..1a0acc6c7c089793d59d8de4d895cb51c47bc0c7 100644 (file)
@@ -52,7 +52,7 @@ _timedatectl() {
                      [TIME]='set-time'
         )
 
-        for ((i=0; i <= COMP_CWORD; i++)); do
+        for ((i=0; i < COMP_CWORD; i++)); do
                 if __contains_word "${COMP_WORDS[i]}" ${VERBS[*]}; then
                         verb=${COMP_WORDS[i]}
                         break