From 4d206f1cf9799c4143b78d2b020dda4ab99a9e53 Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Wed, 25 Jan 2023 11:53:50 +0100 Subject: [PATCH] bash-completion: add missing --unlock-fido2-device to systemd-cryptenroll --- shell-completion/bash/systemd-cryptenroll | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell-completion/bash/systemd-cryptenroll b/shell-completion/bash/systemd-cryptenroll index 59538141591..66c6524fe8b 100644 --- a/shell-completion/bash/systemd-cryptenroll +++ b/shell-completion/bash/systemd-cryptenroll @@ -51,6 +51,7 @@ _systemd-cryptenroll() { [STANDALONE]='-h --help --version --password --recovery-key' [ARG]='--unlock-key-file + --unlock-fido2-device --pkcs11-token-uri --fido2-credential-algorithm --fido2-device @@ -74,6 +75,9 @@ _systemd-cryptenroll() { comps=$(compgen -A file -- "$cur") compopt -o filenames ;; + --unlock-fido2-device) + comps="auto $(__get_fido2_devices)" + ;; --pkcs11-token-uri) comps='auto list pkcs11:' ;; -- 2.47.3