From fe83170ac407f9d7bf3895e8a095310eb75524fc Mon Sep 17 00:00:00 2001 From: Roland Fredenhagen Date: Wed, 16 Feb 2022 16:44:00 +0100 Subject: [PATCH] chore: Add unstable-v4 feature --- Cargo.toml | 1 + Makefile | 1 + README.md | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9faaee57035..d270b10ed54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,6 +81,7 @@ unicode = ["textwrap/unicode-width", "unicase"] # Support for unicode character unstable-replace = [] unstable-multicall = [] unstable-grouped = [] +unstable-v4 = [] [lib] bench = false diff --git a/Makefile b/Makefile index e001b23f3fd..de7391502cf 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ _FEATURES_minimal = --no-default-features --features "std" _FEATURES_default = _FEATURES_wasm = --features "derive cargo env unicode yaml regex unstable-replace unstable-multicall unstable-grouped" _FEATURES_full = --features "derive cargo env unicode yaml regex unstable-replace unstable-multicall unstable-grouped wrap_help" +_FEATURES_next = ${_FEATURES_full} --features unstable-v4 _FEATURES_debug = ${_FEATURES_full} --features debug _FEATURES_release = ${_FEATURES_full} --release diff --git a/README.md b/README.md index 6f620359e94..97644a9ff85 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ Why use the procedural [Builder API](https://github.com/clap-rs/clap/blob/v3.1.1 * **unstable-replace**: Enable [`Command::replace`](https://github.com/clap-rs/clap/issues/2836) * **unstable-multicall**: Enable [`Command::multicall`](https://github.com/clap-rs/clap/issues/2861) * **unstable-grouped**: Enable [`ArgMatches::grouped_values_of`](https://github.com/clap-rs/clap/issues/2924) +* unstable-v4: Show help messages for possible values in long help [#3312](https://github.com/clap-rs/clap/issues/3312) ## Sponsors