Fix help-value for "--syntax-highlight" argument.

"ON" and "OFF" in uppercase are not accepted. Print help in lowercase to match accepted values.
pull/359/head
Inge Fredriksen 2022-09-08 10:16:14 +07:00 committed by GitHub
parent 4c9a12a905
commit f6263ef538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -116,7 +116,7 @@ fn app() -> clap::Command<'static> {
)
.arg(
Arg::new("syntax-highlight").long("syntax-highlight")
.value_name("ON/OFF")
.value_name("on/off")
.env("DFT_SYNTAX_HIGHLIGHT")
.possible_values(["on", "off"])
.default_value("on")