mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 15:27:16 +00:00
Flags, Opts, and Positionals now store their internals using compartmented Base, Valued, and Switched structs to keep the code duplication down and make it easier to maintain. Iniside the src/app/parser.rs there have been several changes to make reasoning about the code easier. Primarily moving related sections out of the large get_matches_with into their own functions.
4 lines
98 B
TOML
4 lines
98 B
TOML
format_strings = false
|
|
chain_overflow_last = false
|
|
same_line_if_else = true
|
|
fn_single_line = true
|