1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

split: comments

This commit is contained in:
zhitkoff 2023-08-28 18:26:48 -04:00
parent fa8d18b826
commit 2f35989ac3

View file

@ -108,7 +108,6 @@ fn handle_obsolete(args: &[String]) -> (Vec<String>, Option<String>) {
v.push(arg.to_owned());
}
}
// println!("{:#?} , {:#?}", v, obs_lines);
(v, obs_lines)
}
@ -465,8 +464,7 @@ impl Strategy {
// Check that the user is not specifying more than one strategy.
//
// Note: right now, this exact behavior cannot be handled by
// `ArgGroup` since `ArgGroup` considers a default value `Arg`
// as "defined".
// overrides_with_all() due to obsolete lines value option
match (
obs_lines,
matches.value_source(OPT_LINES) == Some(ValueSource::CommandLine),