clap/tests/builder
Ed Page 446328a8d3 fix(error): Include -- in more cases
Inspired by rust-lang/cargo#12494.
Part of this is that our "did you mean" does prefix checks so it can be
overly aggressive in providing suggestions.
To avoid providing needless suggestions I limited this change to `last`
/ `trailing_var_arg` as those convey that `--` is more likely a valid
suggestion.
2024-02-16 06:54:57 -06:00
..
action.rs docs: Prefer get_flag over get_one::<bool> 2023-01-23 09:23:38 -06:00
app_settings.rs fix: Make long subcommand flag inference consistent 2023-09-25 13:28:27 -07:00
arg_aliases.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
arg_aliases_short.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
arg_matches.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
borrowed.rs docs: Update App references to Command 2022-02-14 15:33:49 -06:00
cargo.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
command.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
conflicts.rs fix(parser): Ensure subcommand flags can conflict 2024-01-11 10:25:57 -06:00
default_missing_vals.rs fix(assert): Allow stateful value parsers 2023-07-18 14:11:56 -05:00
default_vals.rs fix(assert): Allow stateful value parsers 2023-07-18 14:11:56 -05:00
delimiters.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
derive_order.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
display_order.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
double_require.rs chore: Inline format args using clippy fix 2023-05-03 21:49:11 -04:00
empty_values.rs fix(error): Match rustc for giving more information 2023-01-03 13:22:35 -06:00
env.rs test(parser): Verify value_source 2022-11-29 20:26:37 -06:00
error.rs fix(error): Include -- in more cases 2024-02-16 06:54:57 -06:00
flag_subcommands.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
flags.rs fix(error): Change from neutral 'note' to helpful 'tip' 2023-03-27 20:45:11 -05:00
global_args.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
groups.rs fix(error): Match rustc for giving more information 2023-01-03 13:22:35 -06:00
help.rs fix(help): Hide 'help' if only flattened subcommand 2023-11-27 10:49:21 -06:00
help_env.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
hidden_args.rs fix(help): Fix --help help text in edge case (#4710) 2023-02-15 10:25:19 -06:00
ignore_errors.rs fix(ignore_errors): Allow help and version command 2023-06-28 08:58:40 +08:00
indices.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
main.rs feat: Add get/remove API for getting grouped values 2022-12-20 22:50:03 -07:00
multiple_occurrences.rs style: Make clippy happy 2023-10-12 08:32:59 -05:00
multiple_values.rs chore: Update snapbox/trycmd 2024-02-14 16:44:57 -06:00
occurrences.rs feat: Stablize ArgMatches::get_occurrences 2023-01-12 21:37:19 -06:00
opts.rs fix: Broken long arg inference on conflicts 2023-06-17 13:30:05 -07:00
positionals.rs chore: Inline format args using clippy fix 2023-05-03 21:49:11 -04:00
posix_compatible.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
possible_values.rs perf: Avoid retrieving possible_values unless used 2023-12-28 10:06:35 -06:00
propagate_globals.rs feat: Allow deferred initialization of subcommands 2023-06-09 08:29:38 -05:00
require.rs fix(error): Match rustc for giving more information 2023-01-03 13:22:35 -06:00
subcommands.rs fix(parser): Don't suggest -- as often 2023-07-21 14:27:15 -05:00
template_help.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
tests.rs chore: Inline format args using clippy fix 2023-05-03 21:49:11 -04:00
unicode.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
unique_args.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
utf8.rs fix(parser): Don't panic on invalid UTF-8 values 2022-11-11 12:26:04 -06:00
utf16.rs fix(parser): Deprecate ArgMatches::is_present 2022-06-10 14:21:25 -05:00
utils.rs chore: Make format!() calls more readable 2023-01-29 19:14:47 +00:00
version.rs feat: Allow deferred initialization of subcommands 2023-06-09 08:29:38 -05:00