clap/tests
rami3l fbd338ce26
fix: flag_subcommands unexpected behavior after long arg (#2501)
* fix(wip): add necessary debugging prints for analysis

* fix(wip): implement the fix, take 1

* docs: add docstring for `Parser::flag_subcmd_at` and `Parser::flag_subcmd_skip`

* test: make `flag_subcommand_short_after_long_arg` test more realistic
2021-05-27 05:14:50 +05:30
..
fixtures Add yaml multiple_* tests 2021-05-07 14:34:03 +08:00
app_from_crate.rs Fix compatibility with help2man output (see #1432) 2021-02-27 16:20:52 +01:00
app_settings.rs setting: SubcommandHelpShowsLongForm implemented 2021-04-11 14:31:40 -04:00
arg_aliases.rs Fix compatibility with help2man output (see #1432) 2021-02-27 16:20:52 +01:00
arg_aliases_short.rs Fix compatibility with help2man output (see #1432) 2021-02-27 16:20:52 +01:00
borrowed.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
cargo.rs Fix compatibility with help2man output (see #1432) 2021-02-27 16:20:52 +01: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 tests ~ add tests for new 'default_missing_value' configuration option 2020-05-21 13:06:45 -05:00
default_vals.rs Allow empty value by default, introduce NoEquals Error 2021-03-10 17:39:50 +00:00
delimiters.rs Demangle interlinking flags 2021-03-09 13:45:11 +00:00
derive_order.rs Build help and version args at the beginning 2021-02-07 14:46:38 +00:00
empty_values.rs Rename NoEmptyValues to ForbidEmptyValues 2021-03-13 12:05:34 +05:30
env.rs feat: Add AppSettings::DisableEnv (#2493) 2021-05-21 00:47:47 +05:30
examples.rs Remove unstable feature flag 2021-03-13 11:40:56 +05:30
flag_subcommands.rs fix: flag_subcommands unexpected behavior after long arg (#2501) 2021-05-27 05:14:50 +05:30
flags.rs Fix eagerly trimming dash in parse_long_flag 2021-02-06 11:26:20 +00:00
global_args.rs Replicate the derive test for from_global 2021-05-18 22:21:18 +01:00
grouped_values.rs Demangle interlinking flags 2021-03-09 13:45:11 +00:00
groups.rs Merge pull request #2309 from ldm0/parser0 2021-01-30 14:52:02 +00:00
help.rs Demangle interlinking flags 2021-03-09 13:45:11 +00:00
hidden_args.rs Fix compatibility with help2man output (see #1432) 2021-02-27 16:20:52 +01:00
indices.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
macros.rs change 'tests/macros.rs' to not import clap_app! 2021-04-27 11:21:54 -07:00
multiple_occurrences.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
multiple_values.rs Demangle interlinking flags 2021-03-09 13:45:11 +00:00
opts.rs Rename NoEmptyValues to ForbidEmptyValues 2021-03-13 12:05:34 +05:30
positionals.rs Demangle interlinking flags 2021-03-09 13:45:11 +00:00
posix_compatible.rs Demangle interlinking flags 2021-03-09 13:45:11 +00:00
possible_values.rs Demangle interlinking flags 2021-03-09 13:45:11 +00:00
propagate_globals.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
require.rs fix(usage): Move positional args to end of usage string (#2492) 2021-05-21 00:29:21 +05:30
subcommands.rs ArgMacthes::is_present should not deal with subcommands at all, fixes #2494 2021-05-26 00:40:38 +01:00
template_help.rs Put the test helper in tests 2020-02-04 09:51:46 +01: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 Add tests 2020-11-08 19:06:32 +00:00
utf16.rs add tests for invalid UTF-16 on Windows 2020-05-05 18:18:30 -04: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 Fix App::version/long_version test 2021-02-27 16:31:32 +01:00
yaml.rs Fix clippy warnings. 2021-05-07 19:05:18 +00:00