mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-24 07:15:17 +00:00
Hotfix for cli default value (#118)
This commit is contained in:
parent
727a9b8bb6
commit
59d3a03487
@ -3,11 +3,10 @@ use clap::{arg, command, Command};
|
||||
pub fn cli_app<'a>() -> Command<'a> {
|
||||
command!()
|
||||
.arg(arg!(-c --config <FILE> "Sets a custom config file"))
|
||||
.arg(arg!(--"miner-key" [KEY] "Sets miner private key"))
|
||||
.arg(arg!(--"miner-key" [KEY] "Sets miner private key (Default: None)"))
|
||||
.arg(
|
||||
arg!(--"blockchain-rpc-endpoint" [URL] "Sets blockchain RPC endpoint")
|
||||
.default_value("http://127.0.0.1:8545"),
|
||||
arg!(--"blockchain-rpc-endpoint" [URL] "Sets blockchain RPC endpoint (Default: http://127.0.0.1:8545)")
|
||||
)
|
||||
.arg(arg!(--"db-max-num-chunks" [NUM] "Sets the max number of chunks to store in db"))
|
||||
.arg(arg!(--"db-max-num-chunks" [NUM] "Sets the max number of chunks to store in db (Default: None)"))
|
||||
.allow_external_subcommands(true)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user