From 196356fe3bc885dc77f47fd004d9657845da8cd3 Mon Sep 17 00:00:00 2001 From: shimun Date: Tue, 25 Aug 2020 21:47:25 +0200 Subject: [PATCH] structopt does not allow for flags to be linked to env atm --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index 405f3bc..52bab07 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -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