build(cmd): upgrade clap to 4.x (#2775)

* build(cmd): upgrade clap to 4.4.8

* build(cmd): upgrade clap to 4.4
This commit is contained in:
Bruce Chen
2023-11-20 18:43:31 +08:00
committed by GitHub
parent da68d8ce4b
commit 9558b3c201
4 changed files with 11 additions and 29 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ async-trait.workspace = true
auth.workspace = true
catalog.workspace = true
chrono.workspace = true
clap = { version = "3.1", features = ["derive"] }
clap = { version = "4.4", features = ["derive"] }
client.workspace = true
common-base.workspace = true
common-catalog.workspace = true
+1 -1
View File
@@ -89,7 +89,7 @@ struct StartCommand {
rpc_addr: Option<String>,
#[clap(long)]
rpc_hostname: Option<String>,
#[clap(long, multiple = true, value_delimiter = ',')]
#[clap(long, value_delimiter = ',', num_args = 1..)]
metasrv_addr: Option<Vec<String>>,
#[clap(short, long)]
config_file: Option<String>,
+1 -1
View File
@@ -100,7 +100,7 @@ pub struct StartCommand {
config_file: Option<String>,
#[clap(short, long)]
influxdb_enable: Option<bool>,
#[clap(long, multiple = true, value_delimiter = ',')]
#[clap(long, value_delimiter = ',', num_args = 1..)]
metasrv_addr: Option<Vec<String>>,
#[clap(long)]
tls_mode: Option<TlsMode>,