remove env attr to keep --disable-token as flag
This commit is contained in:
parent
4b09fcb6cb
commit
ab23fe5ac9
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user