clap/clap_derive/tests
Ed Page 61c9e6265b fix(help)!: Merge OPTIONS / FLAGS default groups
For those that want the original behavior, you can usxe
`arg.help_heading(Some("FLAGS"))` on your flags.  Limitations:
- This will not give you a special sort order
- This will not get a `[FLAGS]` added to usage

For templates, we removed `{unified}` and `{flags}`.  To help people
catch these, a debug_assert was added.

I'm unsure but I think there might be a change in behavior in calcuating
when to show `[OPTION]` in usage.  The old code only looked at
`required` while flags looked only at arg groups.  We now look at both.

Ideally we'd add these in `_build` and remove special casing for
no-groups except in the sort order of groups.  I feel like thats best
left for later.

This also reduced the scope of `App`s public API.
`get_*_with_no_heading` seemed a bit specialized to be in the public
API.  #2853 looks at splitting it out into its own PR.

BREAKING CHANGE: Multiple
- `UnifiedHelpMessage` removed
- `{flags}` and `{unified}` are removed and will assert when present.
- `get_*_with_no_heading` removed

Fixes #2807
2021-10-13 11:42:10 -05:00
..
ui fix: Add test for flattening struct in enum 2021-10-11 21:54:44 +01:00
app_name.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
arg_enum.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
argument_naming.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
arguments.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
author_version_about.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
basic.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
boxed.rs docs(derive): Use more-specific traits 2021-10-12 07:51:11 -05:00
custom-string-parsers.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
default_value.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
deny-warnings.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
doc-comments-help.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
explicit_name_no_renaming.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
flags.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
flatten.rs docs(derive): Use more-specific traits 2021-10-12 07:51:11 -05:00
issues.rs docs(derive): Use more-specific traits 2021-10-12 07:51:11 -05:00
nested-subcommands.rs docs(derive): Use more-specific traits 2021-10-12 07:51:11 -05:00
nested.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
non_literal_attributes.rs fix(help)!: Merge OPTIONS / FLAGS default groups 2021-10-13 11:42:10 -05:00
options.rs docs(derive): Use more-specific traits 2021-10-12 07:51:11 -05:00
privacy.rs docs(derive): Use more-specific traits 2021-10-12 07:51:11 -05:00
raw_bool_literal.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
raw_idents.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
rename_all_env.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
skip.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
special_types.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
subcommands.rs docs(derive): Use more-specific traits 2021-10-12 07:51:11 -05:00
ui.rs Bump MSRV to 1.54.0 2021-07-30 10:19:21 +01:00
utf8.rs fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
utils.rs Fix test 2020-07-06 17:26:53 +03:00