From dcef8c1353fda3e35a50d138ad0e2111caaa1ac1 Mon Sep 17 00:00:00 2001 From: Luca Steeb Date: Mon, 11 Nov 2024 21:25:55 +0700 Subject: [PATCH] fix(cli): unify config value name in arguments (#127) --- cli/src/command/deployments/services/katana.rs | 4 ++-- cli/src/command/deployments/services/torii.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/src/command/deployments/services/katana.rs b/cli/src/command/deployments/services/katana.rs index 3cca85b..c08bd93 100644 --- a/cli/src/command/deployments/services/katana.rs +++ b/cli/src/command/deployments/services/katana.rs @@ -58,7 +58,7 @@ pub struct KatanaCreateArgs { #[arg(long)] #[arg(help = "A config file ")] - #[arg(value_name = "config-file")] + #[arg(value_name = "config")] pub config_file: Option, } @@ -103,7 +103,7 @@ pub struct KatanaUpdateArgs { #[arg(long)] #[arg(help = "A config file ")] - #[arg(value_name = "config-file")] + #[arg(value_name = "config")] pub config_file: Option, } diff --git a/cli/src/command/deployments/services/torii.rs b/cli/src/command/deployments/services/torii.rs index 50d996b..e813c54 100644 --- a/cli/src/command/deployments/services/torii.rs +++ b/cli/src/command/deployments/services/torii.rs @@ -20,7 +20,7 @@ pub struct ToriiCreateArgs { #[arg(long)] #[arg(help = "A config file ")] - #[arg(value_name = "config-file")] + #[arg(value_name = "config")] pub config_file: Option, #[arg(short, long)] @@ -60,6 +60,6 @@ pub struct ToriiUpdateArgs { #[arg(long)] #[arg(help = "A config file ")] - #[arg(value_name = "config-file")] + #[arg(value_name = "config")] pub config_file: Option, }