mirror of
https://github.com/systemd/systemd
synced 2024-07-22 10:44:58 +00:00
bash-completion: add missing --unlock-fido2-device to systemd-cryptenroll
This commit is contained in:
parent
903dd65b5e
commit
4d206f1cf9
|
@ -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:'
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue