remove env attr to keep --disable-token as flag
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
shimun 2020-10-13 21:29:06 +02:00
parent 4b09fcb6cb
commit ab23fe5ac9
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -104,7 +104,10 @@ pub struct LuksParameters {
pub slot: Option<u32>, pub slot: Option<u32>,
/// Disable implicit use of LUKS2 tokens /// 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, pub disable_token: bool,
} }