X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=shell-completion%2Fbash%2Ftimedatectl;h=1a0acc6c7c089793d59d8de4d895cb51c47bc0c7;hb=3e6b205f81e743c7354ccbc69eb45afbdbebe2dc;hp=c6a6545257215201cf0f75cd0a0fe5eb888c6809;hpb=a72d698d0d9ff9c158155b44cdc77376df31a317;p=elogind.git diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl index c6a654525..1a0acc6c7 100644 --- a/shell-completion/bash/timedatectl +++ b/shell-completion/bash/timedatectl @@ -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