summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/systemd-cryptenroll
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:45 +0000
commitefeb864cb547a2cbf96dc0053a8bdb4d9190b364 (patch)
treec0b83368f18be983fcc763200c4c24d633244588 /shell-completion/bash/systemd-cryptenroll
parentReleasing progress-linux version 255.5-1~progress7.99u1. (diff)
downloadsystemd-efeb864cb547a2cbf96dc0053a8bdb4d9190b364.tar.xz
systemd-efeb864cb547a2cbf96dc0053a8bdb4d9190b364.zip
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'shell-completion/bash/systemd-cryptenroll')
-rw-r--r--shell-completion/bash/systemd-cryptenroll5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell-completion/bash/systemd-cryptenroll b/shell-completion/bash/systemd-cryptenroll
index 1723f75..6b13e58 100644
--- a/shell-completion/bash/systemd-cryptenroll
+++ b/shell-completion/bash/systemd-cryptenroll
@@ -1,3 +1,4 @@
+# shellcheck shell=bash
# systemd-cryptenroll(1) completion -*- shell-script -*-
# SPDX-License-Identifier: LGPL-2.1-or-later
#
@@ -52,6 +53,7 @@ _systemd_cryptenroll() {
--password --recovery-key'
[ARG]='--unlock-key-file
--unlock-fido2-device
+ --unlock-tpm2-device
--pkcs11-token-uri
--fido2-credential-algorithm
--fido2-device
@@ -81,6 +83,9 @@ _systemd_cryptenroll() {
--unlock-fido2-device)
comps="auto $(__get_fido2_devices)"
;;
+ --unlock-tpm2-device)
+ comps="auto $(__get_tpm2_devices)"
+ ;;
--pkcs11-token-uri)
comps='auto list pkcs11:'
;;