chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
man: add documentation for systemd-debug-generator
[elogind.git]
/
shell-completion
/
bash
/
hostnamectl
diff --git
a/shell-completion/bash/hostnamectl
b/shell-completion/bash/hostnamectl
index 38ab1344f3f31ee67faaed3cf7293623bc3168e5..9c75da9e7f8b6f699f0d465d1563e9e10e514650 100644
(file)
--- a/
shell-completion/bash/hostnamectl
+++ b/
shell-completion/bash/hostnamectl
@@
-41,7
+41,7
@@
_hostnamectl() {
[NAME]='set-hostname'
)
- 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