clap/tests
patrick-gu 044f9c5669
Don't suggest help or --help when not applicable (#2749)
* Don't suggest `help` or `--help` when not applicable

* Apply suggestions from code review

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>

* Update test usage to match intended

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2021-09-04 20:10:24 +00:00
..
fixtures fix(yaml): Don't panic on multiple groups 2021-08-18 15:16:44 -05:00
app_from_crate.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
app_settings.rs fix: Provide path to avoid UTF-8 panics 2021-08-18 14:15:18 -05:00
arg_aliases.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
arg_aliases_short.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
borrowed.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
cargo.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
conflicts.rs fix(usage): Move positional args to end of usage string (#2492) 2021-05-21 00:29:21 +05:30
default_missing_vals.rs fix(style): allow bool_assert_comparison in default_missing_value_flag_value 2021-08-02 23:10:51 +02:00
default_vals.rs Don't show default_val in smart usage 2021-07-21 02:50:41 +08:00
delimiters.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
derive_order.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
empty_values.rs Rename NoEmptyValues to ForbidEmptyValues 2021-03-13 12:05:34 +05:30
env.rs Add env feature gate 2021-08-14 01:55:05 +01:00
examples.rs fix(yaml): Don't panic on multiple groups 2021-08-18 15:16:44 -05:00
flag_subcommands.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
flags.rs fix(test): fix typo in flag_using_long_with_literals 2021-08-01 12:19:00 +02:00
global_args.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
grouped_values.rs Forbid multiple_occurrences for positional args 2021-06-16 08:27:04 +01:00
groups.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
help.rs Don't suggest help or --help when not applicable (#2749) 2021-09-04 20:10:24 +00:00
help_env.rs Remove TakesValue restriction for HideEnv* 2021-08-15 19:40:24 +01:00
hidden_args.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
ignore_errors.rs setting: IgnoreErrors - Reaction to review comments 2021-06-14 10:26:23 +02:00
indices.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
macros.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
multiple_occurrences.rs Add env feature gate 2021-08-14 01:55:05 +01:00
multiple_values.rs Fix value_names & num_vals interaction 2021-08-14 01:08:44 +01:00
opts.rs infer long arguments 2021-06-05 13:18:06 +02:00
positionals.rs Forbid multiple_occurrences for positional args 2021-06-16 08:27:04 +01:00
posix_compatible.rs Make overrides_with working when MultipleValues is enabled. 2021-08-14 16:34:26 +08:00
possible_values.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
propagate_globals.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
require.rs fix(style): remove unnecessary usages of 'static and ref 2021-08-02 23:05:21 +02:00
subcommands.rs Don't suggest help or --help when not applicable (#2749) 2021-09-04 20:10:24 +00:00
template_help.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
tests.rs ArgMacthes::is_present should not deal with subcommands at all, fixes #2494 2021-05-26 00:40:38 +01:00
unique_args.rs Fix warnings 2020-05-31 17:53:24 +03:00
utf8.rs fix: Provide path to avoid UTF-8 panics 2021-08-18 14:15:18 -05:00
utf16.rs fix: Provide path to avoid UTF-8 panics 2021-08-18 14:15:18 -05:00
utils.rs Correct tests, reveal real problem 2021-01-23 14:51:40 +00:00
validators.rs Refactor coloring 2020-08-28 19:21:05 +03:00
version-numbers.rs Remove #[macro_use] from tests 2020-02-03 12:01:36 -05:00
version.rs Replace "Prints" with "Print" for default help and version commands 2021-07-29 20:23:25 -07:00
yaml.rs fix(yaml): Don't panic on multiple groups 2021-08-18 15:16:44 -05:00