|
|
|
|
@ -214,7 +214,7 @@ fn app() -> clap::Command<'static> {
|
|
|
|
|
Arg::new("byte-limit").long("byte-limit")
|
|
|
|
|
.takes_value(true)
|
|
|
|
|
.value_name("LIMIT")
|
|
|
|
|
.help(concat!("Use a text diff if either input file exceeds this size."))
|
|
|
|
|
.help("Use a text diff if either input file exceeds this size.")
|
|
|
|
|
.default_value(formatcp!("{}", DEFAULT_BYTE_LIMIT))
|
|
|
|
|
.env("DFT_BYTE_LIMIT")
|
|
|
|
|
.validator(|s| s.parse::<usize>())
|
|
|
|
|
@ -224,7 +224,7 @@ fn app() -> clap::Command<'static> {
|
|
|
|
|
Arg::new("graph-limit").long("graph-limit")
|
|
|
|
|
.takes_value(true)
|
|
|
|
|
.value_name("LIMIT")
|
|
|
|
|
.help(concat!("Use a text diff if the structural graph exceed this number of nodes in memory."))
|
|
|
|
|
.help("Use a text diff if the structural graph exceed this number of nodes in memory.")
|
|
|
|
|
.default_value(formatcp!("{}", DEFAULT_GRAPH_LIMIT))
|
|
|
|
|
.env("DFT_GRAPH_LIMIT")
|
|
|
|
|
.validator(|s| s.parse::<usize>())
|
|
|
|
|
|