structopt does not allow for flags to be linked to env atm

This commit is contained in:
shimun 2020-08-25 21:47:25 +02:00
parent 3ff7e698bd
commit 196356fe3b
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -75,7 +75,7 @@ pub struct Credentials {
#[derive(Debug, StructOpt)]
pub struct AuthenticatorParameters {
/// Request a PIN to unlock the authenticator
#[structopt(short = "P", long = "pin", env = "FIDO2LUKS_PIN")]
#[structopt(short = "P", long = "pin")]
pub pin: bool,
/// Location to read PIN from