mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
cf9d6ce5cd
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
|