summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
diff options
context:
space:
mode:
authorLucas Werkmeister <mail@lucaswerkmeister.de>2017-09-07 23:41:20 +0200
committerLucas Werkmeister <mail@lucaswerkmeister.de>2017-09-07 23:55:59 +0200
commitef5a8cb1a7e4529b2b69c4d5a3dcd34e30534f54 (patch)
tree98802349796c90b6ca448aca19a1846ef99c3b22 /shell-completion/zsh
parent4146ac2a4cba70d2536465bb9b7e99b09558f153 (diff)
downloadsystemd-ef5a8cb1a7e4529b2b69c4d5a3dcd34e30534f54.tar.gz
analyze: add get-log-level, get-log-target verbs
They’re counterparts to the existing set-log-level and set-log-target verbs, simply printing the current value to stdout. This makes it slightly easier to temporarily change the log level and/or target and then restore the old value(s).
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r--shell-completion/zsh/_systemd-analyze2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze
index 3f091e326a..22b4c181a1 100644
--- a/shell-completion/zsh/_systemd-analyze
+++ b/shell-completion/zsh/_systemd-analyze
@@ -28,6 +28,8 @@ _systemd_analyze_command(){
'dump:Dump server status'
'set-log-level:Set systemd log threshold'
'set-log-target:Set systemd log target'
+ 'get-log-level:Get systemd log threshold'
+ 'get-log-target:Get systemd log target'
'syscall-filter:List syscalls in seccomp filter'
'verify:Check unit files for correctness'
)