No description
Find a file
Tyler Calder 17960a42f4 fix: Show possible values in generated man file
This adds feature parity for mangen with the standard help output. Users
will now see the list of possible values for value arguments.

One change that was made to make this possible was adding the method
`get_possible_values` to the public API for an arg. I tried to think of
a way to get around this, but because this is the interface that the
help generation uses, and it is part of the crate public interface
I thing adding it as a part of the public API might be for the best.

cherry-pick to backport this fix to v3

fixes: #3861
2022-08-26 22:54:02 -06:00
.github chore(ci): Lock docs to MSRV 2022-08-12 08:25:02 -05:00
assets docs: Add back in logo 2021-12-07 17:45:57 -06:00
clap_bench chore: Bump MSRV from 1.56.0 to 1.56.1 2022-06-17 09:01:45 -05:00
clap_complete chore: Release 2022-08-12 08:28:06 -05:00
clap_complete_fig chore: Release 2022-07-01 19:48:03 -05:00
clap_derive fix: Amend error message when deriving enums 2022-08-26 16:57:42 +02:00
clap_lex chore: Release 2022-06-28 08:04:18 -05:00
clap_mangen fix: Show possible values in generated man file 2022-08-26 22:54:02 -06:00
examples docs(tutorial): Switch to hand-implemented ValueEnum 2022-08-09 11:56:55 -05:00
src fix: Show possible values in generated man file 2022-08-26 22:54:02 -06:00
tests fix: Amend error message when deriving enums 2022-08-26 16:57:42 +02:00
.clippy.toml chore: Bump MSRV from 1.56.0 to 1.56.1 2022-06-17 09:01:45 -05:00
.gitignore chore: Allow testing MSRV 2022-07-19 13:50:27 -05:00
.pre-commit-config.yaml chore: Upgrade boilerplate 2022-02-15 12:36:19 -06:00
Cargo.lock chore: Release 2022-08-12 08:28:06 -05:00
Cargo.toml chore: Release 2022-08-12 08:28:06 -05:00
CHANGELOG.md chore: Release 2022-08-12 08:28:06 -05:00
clap.schema.json feat(doc): Fix many typos in docs, comments and codes found by typos-cli 2021-10-19 10:38:22 +09:00
committed.toml chore: Align on boilerplate 2021-11-17 15:24:50 -06:00
CONTRIBUTING.md fix: Allow people to opt-in to deprecations 2022-06-14 10:50:05 -05:00
LICENSE-APACHE chore: relicense under MIT and APACHE 2.0 2018-07-23 14:25:18 -04:00
LICENSE-MIT docs(license): Update years/holders 2022-06-27 12:55:09 -05:00
Makefile chore: Bump MSRV from 1.56.0 to 1.56.1 2022-06-17 09:01:45 -05:00
README.md chore: Update release process 2022-07-19 14:41:42 -05:00
release.toml chore: Allow releasing from release branches 2022-07-25 13:30:17 -05:00
typos.toml docs: Fix typos 2021-11-17 15:21:58 -06:00

clap

Command Line Argument Parser for Rust

Crates.io Crates.io License License Build Status Coverage Status Contributors

Dual-licensed under Apache 2.0 or MIT.

About

Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.

For more details, see:

Sponsors

Gold

Silver

Bronze

Backer