From fbcfdea96b8fc248295dbeb4b8f05f371731c86d Mon Sep 17 00:00:00 2001 From: shimunn Date: Sun, 6 Oct 2019 22:16:12 +0200 Subject: [PATCH] make salt cli option --- src/cli.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index a716bb7..aa51026 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -94,7 +94,12 @@ pub struct SecretGeneration { /// - ask : Promt user using password helper{n} /// - file: : Will read {n} /// - string: : Will use , which will be handled like a password provided to the 'ask' option{n} - #[structopt(name = "salt", env = "FIDO2LUKS_SALT", default_value = "ask")] + #[structopt( + name = "salt", + long = "salt", + env = "FIDO2LUKS_SALT", + default_value = "ask" + )] pub salt: InputSalt, /// Script used to obtain passwords, overridden by --interactive flag #[structopt(