diff options
Diffstat (limited to 'shell-completion/zsh/_systemd-analyze')
-rw-r--r-- | shell-completion/zsh/_systemd-analyze | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze index 258db0340c..468fd0e582 100644 --- a/shell-completion/zsh/_systemd-analyze +++ b/shell-completion/zsh/_systemd-analyze @@ -1,32 +1,11 @@ #compdef systemd-analyze # SPDX-License-Identifier: LGPL-2.1-or-later -(( $+functions[_systemd-analyze_log-level] )) || - _systemd-analyze_log-level() { - local -a _levels - _levels=(debug info notice warning err crit alert emerg) - _describe -t level 'logging level' _levels || compadd "$@" - } - -(( $+functions[_systemd-analyze_log-target] )) || - _systemd-analyze_log-target() { - local -a _targets - _targets=(console journal kmsg journal-or-kmsg null) - _describe -t target 'logging target' _targets || compadd "$@" - } - (( $+functions[_systemd-analyze_verify] )) || _systemd-analyze_verify() { _sd_unit_files } -(( $+functions[_systemd-analyze_service-watchdogs] )) || - _systemd-analyze_service-watchdogs() { - local -a _states - _states=(on off) - _describe -t state 'state' _states || compadd "$@" - } - (( $+functions[_systemd-analyze_cat-config] )) || _systemd-analyze_cat-config() { _files -W '(/run/systemd/ /etc/systemd/ /usr/lib/systemd/)' -P 'systemd/' @@ -75,9 +54,7 @@ 'timestamp:Parse a systemd syntax timestamp' 'timespan:Parse a systemd syntax timespan' 'security:Analyze security settings of a service' - # 'log-level:Get/set systemd log threshold' - # 'log-target:Get/set systemd log target' - # 'service-watchdogs:Get/set service watchdog status' + # log-level, log-target, service-watchdogs have been deprecated ) if (( CURRENT == 1 )); then |