clap/tests/derive
Ed Page 31b22d1a51 perf(parser): Take up less memory with ArgAction::Count
Someone should not reasonably expect a coun flag to go up to billions,
millions, or even thousands.  255 should be sufficient for anyone,
right?

The original type was selected to be consistent with
`ArgMatches::occurrences_of` but that is also used for tracking how
many values appear which can be large with `xargs`.

I'm still conflicted on what the "right type" is an wish we could
support any numeric type.  When I did a search on github though, every
case was for debug/quiet flags and only supported 2-3 occurrences,
making a `u8` overkill.

This came out of a discussion on #3792
2022-06-09 11:09:38 -05:00
..
legacy test(derive): Ensure we don't break compatibility 2022-06-02 16:56:14 -05:00
app_name.rs fix: Rename IntoApp to CommandFactory 2022-02-15 08:24:00 -06:00
arguments.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
author_version_about.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
basic.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
boxed.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
custom_string_parsers.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
default_value.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
deny_warnings.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
doc_comments_help.rs fix(derive): Clarify ArgEnum as ValueEnum 2022-06-08 11:14:09 -05:00
explicit_name_no_renaming.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
flags.rs perf(parser): Take up less memory with ArgAction::Count 2022-06-09 11:09:38 -05:00
flatten.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
generic.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
help.rs perf(parser): Take up less memory with ArgAction::Count 2022-06-09 11:09:38 -05:00
issues.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
macros.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
main.rs fix(derive): Clarify ArgEnum as ValueEnum 2022-06-08 11:14:09 -05:00
naming.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
nested_subcommands.rs perf(parser): Take up less memory with ArgAction::Count 2022-06-09 11:09:38 -05:00
non_literal_attributes.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
options.rs perf(parser): Take up less memory with ArgAction::Count 2022-06-09 11:09:38 -05:00
privacy.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
raw_bool_literal.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
raw_idents.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
rename_all_env.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
skip.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
structopt.rs fix(help): Subcommand help looks like --help 2022-02-11 12:47:34 -06:00
subcommands.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
type_alias_regressions.rs fix(derive): Clarify ArgEnum as ValueEnum 2022-06-08 11:14:09 -05:00
utf8.rs fix(parser): Deprecate StoreValue / IncOccurrences Actions 2022-06-06 13:41:27 -05:00
utils.rs fix: Rename IntoApp to CommandFactory 2022-02-15 08:24:00 -06:00
value_enum.rs fix(derive): Clarify ArgEnum as ValueEnum 2022-06-08 11:14:09 -05:00