diff options
author | Jonathan Davies <jpds@protonmail.com> | 2023-01-02 13:35:26 +0000 |
---|---|---|
committer | Jonathan Davies <jpds@protonmail.com> | 2023-01-03 11:11:12 +0000 |
commit | 8be862aa193ebe3081d1a74c3c5fc493ae9c82b0 (patch) | |
tree | dbde848687e922dee1510c9042d58c21a1251694 /src/garage/cli | |
parent | 76230f20282e73a5a5afa33af68152acaf732cf5 (diff) | |
download | garage-8be862aa193ebe3081d1a74c3c5fc493ae9c82b0.tar.gz garage-8be862aa193ebe3081d1a74c3c5fc493ae9c82b0.zip |
Changed all instances of 'key new' to 'key create' to make it consistent as bucket commands issued normally around the same time.
Diffstat (limited to 'src/garage/cli')
-rw-r--r-- | src/garage/cli/structs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs index e2f632f3..fe2c2a26 100644 --- a/src/garage/cli/structs.rs +++ b/src/garage/cli/structs.rs @@ -320,8 +320,8 @@ pub enum KeyOperation { Info(KeyOpt), /// Create new key - #[structopt(name = "new", version = garage_version())] - New(KeyNewOpt), + #[structopt(name = "create", version = garage_version())] + Create(KeyNewOpt), /// Rename key #[structopt(name = "rename", version = garage_version())] @@ -353,7 +353,7 @@ pub struct KeyOpt { #[derive(Serialize, Deserialize, StructOpt, Debug)] pub struct KeyNewOpt { /// Name of the key - #[structopt(long = "name", default_value = "Unnamed key")] + #[structopt(default_value = "Unnamed key")] pub name: String, } |