clap/tests/builder
Ed Page 19ed78c64f fix(help): Don't commit to '--help' that doesn't work
We have two ways of fixing this
- Making `--help` work
- Don't put `--help` in the help output

For now, I went with the latter.  I tried to make it clear what the
actual requirement is so we can pivot if needed.

Fixes #2892

This happens to also fix the interaction of `DisableHelpFlag` with the
help subcommand and complcations.  I've added a test to help catch if we
break this by changing how we fixed the original issue.

Fixes #2724

These issues were reported against clap3.  I've not tried to reproduce
these in clap2 to see if they should show up in the release notes.
2021-12-13 15:59:14 -06:00
..
app_from_crate.rs fix: Gracefully handle empty authors 2021-12-06 11:30:26 -06:00
app_settings.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
arg_aliases.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
arg_aliases_short.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
arg_matcher_assertions.rs fix(ci): Correct release lints 2021-12-13 09:41:22 -06:00
arg_settings.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
borrowed.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
cargo.rs docs: Remove author fields 2021-12-06 11:24:23 -06:00
conflicts.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
default_missing_vals.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
default_vals.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
delimiters.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
derive_order.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
display_order.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
double_require.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
empty_values.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
env.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
error.rs fix(error): Ensure newline on value_of_t not found 2021-12-13 13:30:32 -06:00
flag_subcommands.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
flags.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
global_args.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
grouped_values.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
groups.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
help.rs fix(help): Don't commit to '--help' that doesn't work 2021-12-13 15:59:14 -06:00
help_env.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
hidden_args.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
ignore_errors.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
indices.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
main.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
multiple_occurrences.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
multiple_values.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
opts.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
positionals.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
posix_compatible.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
possible_values.rs chore(ci): Lint small feature sets 2021-12-07 21:18:35 -06:00
propagate_globals.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
regex.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
require.rs docs: Update old repo location 2021-12-07 08:14:41 -06:00
subcommands.rs feat: Make Multicall just strip dir from argv0 2021-12-12 22:08:25 +00:00
template_help.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
tests.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
unicode.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
unique_args.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
utf8.rs fix: Update tests for assertion messages 2021-12-11 20:33:23 +09:00
utf16.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
utils.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
validators.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00
version.rs test: Consolidate builder tests 2021-11-30 10:07:05 -06:00