clap/tests/builder
Ed Page 40a9061c26 fix(parser): Include required argument in message
When suggesting required arguments, we wanted to avoid an argument
showing up in both a group and by itself but we didn't correctly
calculate that, causing no required arguments to show up at times.

Now, we all use the same pool of information for doing the calculations.

This was the type of cleanup that I expected it to drop our binary size
but this added 1k to our .text.  Strange.

Fixes #4004
2022-07-29 19:54:32 -05:00
..
action.rs fix(parser): Deprecate ArgMatches::is_present 2022-06-10 14:21:25 -05:00
app_settings.rs fix!: number_of_values doesn't always imply multiple_values(true) 2022-07-28 14:40:58 -05:00
arg_aliases.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
arg_aliases_short.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
arg_matcher_assertions.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
borrowed.rs docs: Update App references to Command 2022-02-14 15:33:49 -06:00
cargo.rs docs: Update App references to Command 2022-02-14 15:33:49 -06:00
command.rs fix: Update app_from_crate for App rename 2022-02-15 08:39:07 -06:00
conflicts.rs fix(help): Show when a flag 'ArgAction::Count's 2022-07-29 09:56:26 -05:00
default_missing_vals.rs fix!: Replace min_values (total) with number_of_values (per occurrence) 2022-07-28 17:13:41 -05:00
default_vals.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
delimiters.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
derive_order.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
display_order.rs refactor(test): Make it easier to fork tests 2022-06-07 16:21:12 -05:00
double_require.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
empty_values.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
env.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
error.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
flag_subcommands.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
flags.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
global_args.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
grouped_values.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
groups.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
help.rs fix(help): Show when a flag 'ArgAction::Count's 2022-07-29 09:56:26 -05:00
help_env.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
hidden_args.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
ignore_errors.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
indices.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
main.rs fix!: Remove ArgSettings from the API 2022-07-21 16:17:44 -05:00
multiple_occurrences.rs fix(parser): Deprecate ArgMatches::is_present 2022-06-10 14:21:25 -05:00
multiple_values.rs fix(help): Remove '...' for optional values 2022-07-29 09:44:29 -05:00
opts.rs fix!: Replace min_values (total) with number_of_values (per occurrence) 2022-07-28 17:13:41 -05:00
positionals.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
posix_compatible.rs fix(assert)!: Disallow self-overrides 2022-07-25 12:46:16 -05:00
possible_values.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
propagate_globals.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
require.rs fix(parser): Include required argument in message 2022-07-29 19:54:32 -05:00
subcommands.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
template_help.rs fix(help): Show when a flag 'ArgAction::Count's 2022-07-29 09:56:26 -05:00
tests.rs fix: Loosen lifetime constraint on mut_subcommand 2022-07-11 19:12:36 -07:00
unicode.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
unique_args.rs docs: Update App references to Command 2022-02-14 15:33:49 -06:00
utf8.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
utf16.rs fix(parser): Deprecate ArgMatches::is_present 2022-06-10 14:21:25 -05:00
utils.rs fix!: Replaced min_values (tota) with number_of_values (per occurrence) 2022-07-28 21:40:40 -05:00
version.rs fix(parser): Deprecate ArgMatches::is_present 2022-06-10 14:21:25 -05:00