summaryrefslogtreecommitdiff
path: root/shell-completion/bash/timedatectl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/timedatectl')
-rw-r--r--shell-completion/bash/timedatectl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl
index c6a6545257..1a0acc6c7c 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