feat: code style

This commit is contained in:
2023-12-23 16:25:26 +08:00
parent d19c9a48f1
commit 0c5dbc7cc3
3 changed files with 7 additions and 10 deletions

View File

@@ -48,9 +48,6 @@ use crate::wrap_key::WrapKey;
#[derive(Debug, Args)]
pub struct CmdDecrypt {
/// Files need to be decrypted
pub paths: Vec<PathBuf>,
/// PGP or PIV PIN
#[arg(long, short = 'p')]
pub pin: Option<String>,
@@ -94,6 +91,9 @@ pub struct CmdDecrypt {
/// Digest algorithm (sha1, sha256[default], sha384, sha512 ...)
#[arg(long, short = 'A')]
pub digest_algorithm: Option<String>,
/// Files need to be decrypted
pub paths: Vec<PathBuf>,
}
impl Drop for CmdDecrypt {