mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
docs(CHANGELOG.md): adds the details about ability to change the help message for the auto-generated help/version
This commit is contained in:
parent
9d4535e1c3
commit
e802a472de
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
#### API Additions
|
||||
|
||||
* provides `default_value_os` and `default_value_if[s]_os` ([0f2a3782](https://github.com/kbknapp/clap-rs/commit/0f2a378219a6930748d178ba350fe5925be5dad5), closes [#849](https://github.com/kbknapp/clap-rs/issues/849))
|
||||
* provides `App::help_message` and `App::version_message` which allows one to override the auto-generated help/version flag associated help ([389c413](https://github.com/kbknapp/clap-rs/commit/389c413b7023dccab8c76aa00577ea1d048e7a99), closes [#889](https://github.com/kbknapp/clap-rs/issues/889))
|
||||
|
||||
#### New Settings
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@ Here's the highlights for v2.21.0
|
|||
* adds a setting to allow one to infer shortened subcommands or aliases (i.e. for subcommmand "test", "t", "te", or "tes" would be allowed assuming no other ambiguities)
|
||||
* when `AppSettings::SubcommandsNegateReqs` and `ArgsNegateSubcommands` are used, a new more accurate double line usage string is shown
|
||||
* provides `default_value_os` and `default_value_if[s]_os`
|
||||
* provides `App::help_message` and `App::version_message` which allows one to override the auto-generated help/version flag associated help
|
||||
* adds the ability to require the equals syntax with options `--opt=val`
|
||||
* doesn't print the argument sections in the help message if all args in that section are hidden
|
||||
* doesn't include the various `[ARGS]` `[FLAGS]` or `[OPTIONS]` if the only ones available are hidden
|
||||
|
|
Loading…
Reference in a new issue