From f1c16ca6d6f2af12ef8fcaf502113185f5de9ed2 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 19 Sep 2024 05:40:13 +0900 Subject: [PATCH] shell-completion/analyze: add has-tpm2 --- shell-completion/bash/systemd-analyze | 2 +- shell-completion/zsh/_systemd-analyze | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index 9bb50a37b2c..7c5cb1c5123 100644 --- a/shell-completion/bash/systemd-analyze +++ b/shell-completion/bash/systemd-analyze @@ -67,7 +67,7 @@ _systemd_analyze() { ) local -A VERBS=( - [STANDALONE]='time blame unit-files unit-paths exit-status compare-versions calendar timestamp timespan pcrs srk' + [STANDALONE]='time blame unit-files unit-paths exit-status compare-versions calendar timestamp timespan pcrs srk has-tpm2' [CRITICAL_CHAIN]='critical-chain' [DOT]='dot' [DUMP]='dump' diff --git a/shell-completion/zsh/_systemd-analyze b/shell-completion/zsh/_systemd-analyze index 20b89646b17..50542b39628 100644 --- a/shell-completion/zsh/_systemd-analyze +++ b/shell-completion/zsh/_systemd-analyze @@ -73,6 +73,7 @@ JSON or table format' 'timespan:Parse a systemd syntax timespan' 'security:Analyze security settings of a service' 'inspect-elf:Parse and print ELF package metadata' + 'has-tpm2:Report whether TPM2 support is available' # log-level, log-target, service-watchdogs have been deprecated )