summaryrefslogtreecommitdiff
path: root/shell-completion/bash/busctl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/busctl')
-rw-r--r--shell-completion/bash/busctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index 8ce813f4b3..7480a6c3fb 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -53,7 +53,7 @@ _busctl() {
[STANDALONE]='list monitor'
)
- for ((i=0; i <= COMP_CWORD; i++)); do
+ for ((i=0; i < COMP_CWORD; i++)); do
if __contains_word "${COMP_WORDS[i]}" ${VERBS[*]} &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
verb=${COMP_WORDS[i]}