mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
split: comments
This commit is contained in:
parent
fa8d18b826
commit
2f35989ac3
1 changed files with 1 additions and 3 deletions
|
@ -108,7 +108,6 @@ fn handle_obsolete(args: &[String]) -> (Vec<String>, Option<String>) {
|
||||||
v.push(arg.to_owned());
|
v.push(arg.to_owned());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// println!("{:#?} , {:#?}", v, obs_lines);
|
|
||||||
(v, obs_lines)
|
(v, obs_lines)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -465,8 +464,7 @@ impl Strategy {
|
||||||
// Check that the user is not specifying more than one strategy.
|
// Check that the user is not specifying more than one strategy.
|
||||||
//
|
//
|
||||||
// Note: right now, this exact behavior cannot be handled by
|
// Note: right now, this exact behavior cannot be handled by
|
||||||
// `ArgGroup` since `ArgGroup` considers a default value `Arg`
|
// overrides_with_all() due to obsolete lines value option
|
||||||
// as "defined".
|
|
||||||
match (
|
match (
|
||||||
obs_lines,
|
obs_lines,
|
||||||
matches.value_source(OPT_LINES) == Some(ValueSource::CommandLine),
|
matches.value_source(OPT_LINES) == Some(ValueSource::CommandLine),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue