feat: Make the name option in edit & add ad argument
Some checks failed
Check PR title / check_pr_title (pull_request) Failing after 11s
Rust CI / Rust CI (pull_request) Successful in 2m38s

This commit is contained in:
Awiteb 2024-05-07 08:47:49 +03:00
parent 3436e616f8
commit b584ee7b86
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -45,7 +45,6 @@ pub enum Format {
#[derive(Clone, Debug, Deserialize, Serialize, Parser)] #[derive(Clone, Debug, Deserialize, Serialize, Parser)]
pub struct Vault { pub struct Vault {
/// The name of the vault /// The name of the vault
#[arg(short, long)]
pub name: String, pub name: String,
/// The username /// The username
#[arg(short, long)] #[arg(short, long)]
@ -57,7 +56,7 @@ pub struct Vault {
#[arg(short, long)] #[arg(short, long)]
pub service: Option<String>, pub service: Option<String>,
/// Add a note to the vault /// Add a note to the vault
#[arg(short = 'o', long)] #[arg(short, long)]
pub note: Option<String>, pub note: Option<String>,
} }