feat: Make the name option in edit & add as argument #29

Merged
awiteb merged 1 commit from awiteb/fix-24 into master 2024-05-07 07:55:40 +02:00 AGit
Showing only changes of commit b584ee7b86 - Show all commits

View file

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