From 127f3779f8d805c7e1f5209555d8929082f85c82 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Tue, 7 May 2024 07:55:39 +0200 Subject: [PATCH] feat: Make the `name` option in `edit` & `add` as argument (#29) Reviewed-on: https://git.4rs.nl/awiteb/lprs/pulls/29 BREAKING-CHANGE: Change the `name` option to argument in `name` and `edit` commands Co-authored-by: Awiteb Co-committed-by: Awiteb --- src/vault/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vault/mod.rs b/src/vault/mod.rs index 4bded17..9e995e6 100644 --- a/src/vault/mod.rs +++ b/src/vault/mod.rs @@ -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, /// Add a note to the vault - #[arg(short = 'o', long)] + #[arg(short, long)] pub note: Option, }