clap/tests/derive
Peter Grayson 7eea7d27ad
fix(help): Optional arg values in brackets
When an Arg uses .min_values(0), that arg's value(s) are effectively
optional. This is conventionaly denoted in help messages by wrapping the
arg's values in square brackets. For example:

    --foo[=value]
    --bar [value]

This kind of argument can be seen in the wild in many git commands; e.g.
git-status(1).

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-01-26 12:03:23 -05:00
..
app_name.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
arg_enum.rs fix(derive): Don't assume use clap::ArgEnum 2022-01-10 15:41:58 -06:00
argument_naming.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
arguments.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
author_version_about.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
basic.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
boxed.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
custom_string_parsers.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
default_value.rs fix(derive): Treat default_value_os like default_value 2021-12-13 16:25:49 -06:00
deny_warnings.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
doc_comments_help.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
explicit_name_no_renaming.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
flags.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
flatten.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
generic.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
help.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
issues.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
macros.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
main.rs fix: unqualified result types causing compilation failures with derive implementations 2021-12-10 14:13:26 +00:00
nested_subcommands.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
non_literal_attributes.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
options.rs fix(help): Optional arg values in brackets 2022-01-26 12:03:23 -05:00
privacy.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
raw_bool_literal.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
raw_idents.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
rename_all_env.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
skip.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
structopt.rs docs: Update changelog 2021-12-02 20:26:21 -06:00
subcommands.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
type_alias_regressions.rs test(derive): Check all derives 2021-12-10 10:52:30 -06:00
utf8.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00
utils.rs test: Consolidate clap tests 2021-11-30 10:07:08 -06:00