summaryrefslogtreecommitdiff
path: root/shell-completion/bash/journalctl
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-04 19:33:34 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-10 10:10:06 -0400
commit3f3a438f58d7b1d2ba2b44d6d356fb1eaa65b66a (patch)
treee453ba6021b4457f2658568c812c50e5192b180b /shell-completion/bash/journalctl
parenta688baa8b71f9c74500f7883dfb137194874266a (diff)
journalctl: add --system/--user flags
--user basically gives messages from your own systemd --user services. --system basically gives messages from PID 1, kernel, and --system services. Those two options are not exahustive, because a priviledged user might be able to see messages from other users, and they will not be shown with either or both of those flags.
Diffstat (limited to 'shell-completion/bash/journalctl')
-rw-r--r--shell-completion/bash/journalctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
index 19362ae77..5ab59c994 100644
--- a/shell-completion/bash/journalctl
+++ b/shell-completion/bash/journalctl
@@ -38,6 +38,7 @@ _journalctl() {
local field_vals= cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local -A OPTS=(
[STANDALONE]='-a --all --full
+ --system --user
-b --this-boot --disk-usage -f --follow --header
-h --help -l --local --new-id128 -m --merge --no-pager
--no-tail -q --quiet --setup-keys --this-boot --verify