summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/systemd-analyze
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-06 03:33:08 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-06 03:33:08 +0100
commit86cb0691b71873c6fe30a103dc98153e2d9ab507 (patch)
tree5f77512f2904dfc792d10280dcad042a59534221 /shell-completion/bash/systemd-analyze
parentbus: update kdbus.h (diff)
downloadsystemd-86cb0691b71873c6fe30a103dc98153e2d9ab507.tar.xz
systemd-86cb0691b71873c6fe30a103dc98153e2d9ab507.zip
shell-completion: busctl
Diffstat (limited to 'shell-completion/bash/systemd-analyze')
-rw-r--r--shell-completion/bash/systemd-analyze2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze
index b65466ba47..98c793be99 100644
--- a/shell-completion/bash/systemd-analyze
+++ b/shell-completion/bash/systemd-analyze
@@ -39,7 +39,7 @@ _systemd_analyze() {
_init_completion || return
- 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]}