feat: cli usage
This commit is contained in:
@@ -20,13 +20,13 @@ struct Cli {
|
||||
/// Description in pinentry
|
||||
#[arg(long, short = 'd')]
|
||||
pub description: Option<String>,
|
||||
// Prompt in pinentry
|
||||
/// Prompt in pinentry
|
||||
#[arg(long)]
|
||||
pub prompt: Option<String>,
|
||||
// Encryption key, must be 32 bytes and in HEX
|
||||
/// Encryption key, must be 32 bytes and in HEX format
|
||||
#[arg(long, short = 'k')]
|
||||
pub encryption_key: String,
|
||||
// Disable fallback to rpassword
|
||||
/// Disable fallback to rpassword, default false
|
||||
#[arg(long, short = 'C')]
|
||||
pub disable_fallback_cli: Option<bool>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user