summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/systemd-cryptenroll
diff options
context:
space:
mode:
Diffstat (limited to '')
-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:'
;;