Forgot to let base-url take a value >_>

This commit is contained in:
Vincent Prouillet 2017-10-17 11:47:30 +02:00
parent 3e421fb951
commit e06611f46f

View file

@ -26,6 +26,7 @@ pub fn build_cli() -> App<'static, 'static> {
Arg::with_name("base_url") Arg::with_name("base_url")
.short("u") .short("u")
.long("base-url") .long("base-url")
.takes_value(true)
.help("Force the base URL to be that value (default to the one in config.toml)"), .help("Force the base URL to be that value (default to the one in config.toml)"),
]), ]),
SubCommand::with_name("serve") SubCommand::with_name("serve")