analyze: merge {get,set}-log-{level,target} to log-{level,target} (#8020)

Also, service-watchdogs now shows current watchdog state when
no optional argument is provided.
This commit is contained in:
Yu Watanabe
2018-01-27 13:51:32 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 4c0d481095
commit 90657286fc
4 changed files with 64 additions and 52 deletions
+3 -3
View File
@@ -42,11 +42,11 @@ _systemd_analyze() {
)
local -A VERBS=(
[STANDALONE]='time blame plot dump get-log-level get-log-target calendar'
[STANDALONE]='time blame plot dump calendar'
[CRITICAL_CHAIN]='critical-chain'
[DOT]='dot'
[LOG_LEVEL]='set-log-level'
[LOG_TARGET]='set-log-target'
[LOG_LEVEL]='log-level'
[LOG_TARGET]='log-target'
[VERIFY]='verify'
[SECCOMP_FILTER]='syscall-filter'
[SERVICE_WATCHDOGS]='service-watchdogs'