chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shell-completion: busctl
[elogind.git]
/
shell-completion
/
bash
/
systemd-analyze
diff --git
a/shell-completion/bash/systemd-analyze
b/shell-completion/bash/systemd-analyze
index b65466ba47535d625b0aa62fc0c620ee642607d1..98c793be9935d90bcc468e2567fb3939f643614f 100644
(file)
--- 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]}