summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/systemd-cat
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/systemd-cat')
-rw-r--r--shell-completion/bash/systemd-cat2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-cat b/shell-completion/bash/systemd-cat
index 9413b6fa70..737f33981b 100644
--- a/shell-completion/bash/systemd-cat
+++ b/shell-completion/bash/systemd-cat
@@ -25,7 +25,7 @@ __contains_word() {
}
_systemd_cat() {
- local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
+ local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
local i verb comps
local -A OPTS=(