feat: cli usage

This commit is contained in:
2024-06-30 20:03:30 +08:00
parent 48ff1a9a59
commit 889f140592

View File

@@ -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>,
}