1
0
mirror of https://github.com/systemd/systemd.git synced 2025-10-21 15:33:40 +03:00

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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-06-04 19:33:34 -04:00
parent a688baa8b7
commit 3f3a438f58
4 changed files with 35 additions and 3 deletions

View File

@@ -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