refactor: change the value name of --config (#313)

This commit is contained in:
sigoden
2023-12-07 15:14:41 +08:00
committed by GitHub
parent 37800f630d
commit 44a4ddf973
2 changed files with 4 additions and 3 deletions

View File

@@ -35,7 +35,8 @@ pub fn build_cli() -> Command {
.short('c')
.long("config")
.value_parser(value_parser!(PathBuf))
.help("Specify configuration file"),
.help("Specify configuration file")
.value_name("file"),
)
.arg(
Arg::new("bind")