From e802a472dec8a2e671cc493fb8d006c0accae1f7 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Fri, 10 Mar 2017 08:29:57 -0500 Subject: [PATCH] docs(CHANGELOG.md): adds the details about ability to change the help message for the auto-generated help/version --- CHANGELOG.md | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d12fff0..58e499fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 6bb52190..e5797765 100644 --- a/README.md +++ b/README.md @@ -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