diff --git a/src/cli.rs b/src/cli.rs index 6849d1ed0..00ee40b47 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -213,7 +213,7 @@ impl Cli { Arg::new("num_format_style") .long("num-format") .short('n') - .value_parser(["commas", "dots", "plain", "underscores"]) + .value_parser(value_parser!(NumberFormatStyle)) .conflicts_with("output") .help( "Format of printed numbers, i.e., plain (1234, default), \