structopt does not allow for flags to be linked to env atm
This commit is contained in:
parent
3ff7e698bd
commit
196356fe3b
@ -75,7 +75,7 @@ pub struct Credentials {
|
|||||||
#[derive(Debug, StructOpt)]
|
#[derive(Debug, StructOpt)]
|
||||||
pub struct AuthenticatorParameters {
|
pub struct AuthenticatorParameters {
|
||||||
/// Request a PIN to unlock the authenticator
|
/// Request a PIN to unlock the authenticator
|
||||||
#[structopt(short = "P", long = "pin", env = "FIDO2LUKS_PIN")]
|
#[structopt(short = "P", long = "pin")]
|
||||||
pub pin: bool,
|
pub pin: bool,
|
||||||
|
|
||||||
/// Location to read PIN from
|
/// Location to read PIN from
|
||||||
|
Loading…
x
Reference in New Issue
Block a user