From ab23fe5ac9393f0e4f9e41a01f400330641e51ad Mon Sep 17 00:00:00 2001 From: shimun Date: Tue, 13 Oct 2020 21:29:06 +0200 Subject: [PATCH] remove env attr to keep --disable-token as flag --- src/cli_args/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cli_args/mod.rs b/src/cli_args/mod.rs index bafd36a..a682655 100644 --- a/src/cli_args/mod.rs +++ b/src/cli_args/mod.rs @@ -104,7 +104,10 @@ pub struct LuksParameters { pub slot: Option, /// Disable implicit use of LUKS2 tokens - #[structopt(long = "disable-token", env = "FIDO2LUKS_DISABLE_TOKEN")] + #[structopt( + long = "disable-token", + // env = "FIDO2LUKS_DISABLE_TOKEN" // unfortunately clap will convert flags into args if they have an env attribute + )] pub disable_token: bool, }