clap/clap_mangen/tests/snapshots
Benjamin Gilbert 3755c56dcf fix(mangen): Avoid spurious value for derive arg
derive arguments like this:

    #[arg(long)]
    pub flag: bool,

were producing option descriptions like this:

    --flag=FLAG

FLAG is spurious.  It turns out that derive always sets a value name, for
simplicity, even when there are no arguments.  Check for this case.

Fixes #4443.
2023-01-16 12:04:43 -05:00
..
aliases.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
basic.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
feature_sample.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
hidden_option.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
possible_values.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
quoting.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
special_commands.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
sub_subcommand_help.roff fix: Add test for subcommand 2022-09-29 23:07:28 +05:30
sub_subcommands.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
value_env.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
value_hint.bash.roff fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
value_name_without_arg.bash.roff fix(mangen): Avoid spurious value for derive arg 2023-01-16 12:04:43 -05:00