From: Antonio Alvarez Feijoo Date: Wed, 25 Jan 2023 10:53:50 +0000 (+0100) Subject: bash-completion: add missing --unlock-fido2-device to systemd-cryptenroll X-Git-Tag: v253-rc2~72^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d206f1cf9799c4143b78d2b020dda4ab99a9e53;p=thirdparty%2Fsystemd.git bash-completion: add missing --unlock-fido2-device to systemd-cryptenroll --- 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:' ;;