]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion/analyze: add has-tpm2
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 18 Sep 2024 20:40:13 +0000 (05:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Sep 2024 10:08:49 +0000 (19:08 +0900)
shell-completion/bash/systemd-analyze
shell-completion/zsh/_systemd-analyze

index 9bb50a37b2c14f78209f79dc5c3bb98f4e730c2e..7c5cb1c51235f8ea302dae8130c28811d613ab76 100644 (file)
@@ -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'
index 20b89646b17245bef03ba0cb0d3239a569d567bd..50542b396287316525a82ebd9173a0496bdadfa4 100644 (file)
@@ -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
         )