[ARCHITECTURES]='architectures'
[FDSTORE]='fdstore'
[CAPABILITY]='capability'
+ [TRANSIENT_SETTINGS]='transient-settings'
)
local CONFIGS='locale.conf systemd/bootchart.conf systemd/coredump.conf systemd/journald.conf
if [[ $cur = -* ]]; then
comps='--help --version --no-pager --json=off --json=pretty --json=short -m --mask'
fi
+
+ elif __contains_word "$verb" ${VERBS[TRANSIENT_SETTINGS]}; then
+ if [[ $cur = -* ]]; then
+ comps='--help --version --no-pager'
+ else
+ comps="$(systemctl --no-legend --no-pager -t help)"
+ fi
fi
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
_describe 'plot options' _options
}
+(( $+functions[_systemd-analyze_transient-settings] )) ||
+ _systemd-analyze_transient-settings() {
+ local -a _types
+ _types=( $(systemctl --no-pager --no-legend -t help) )
+ _describe -t types 'unit types' _types
+ }
+
(( $+functions[_systemd-analyze_commands] )) ||
_systemd-analyze_commands(){
local -a _systemd_analyze_cmds
'security:Analyze security settings of a service'
'inspect-elf:Parse and print ELF package metadata'
'has-tpm2:Report whether TPM2 support is available'
+ 'transient-settings:List transient settings for unit types'
# log-level, log-target, service-watchdogs have been deprecated
)