pub fn split_option_names(
names: &[&str],
) -> Result<(Vec<String>, Vec<String>), String>Expand description
Split option names into (long_options, short_options).
Each name is validated and categorized. The first valid long option (or first short option if no long) determines the parameter name.
ยงReturns
A tuple of (long_options, short_options) where each is a Vec of the original names (with dashes).