clap/examples
Ed Page 02d27b5ce3 fix(usage): Make dont_collapse_args_in_usage the default
The setting was added to resolve #769.  The reason it was optional is out
of concern for applications with a lot of positional arguments.  I think
those cases are rare enough that we should just push people to override
the usage.  Positional arguments are generally important enough, even if
optional, to show.

As a side effect, this fixed some bugs with
`dont_collapse_args_in_usage` where it would repeat an argument in a
smart usage.

As a side effect, smart usage now shows `--` when it should
2022-08-30 16:12:49 -05:00
..
derive_ref fix(parser): Show all required errors at once 2022-08-29 19:40:35 -05:00
tutorial_builder fix(usage): Make dont_collapse_args_in_usage the default 2022-08-30 16:12:49 -05:00
tutorial_derive fix(usage): Make dont_collapse_args_in_usage the default 2022-08-30 16:12:49 -05:00
cargo-example-derive.md fix(help): Shift focus to subcommands, when present 2022-08-26 10:59:40 -05:00
cargo-example-derive.rs fix(derive)!: Remove value_parser/action defaulted attributes 2022-07-22 20:07:47 -05:00
cargo-example.md fix(help): Shift focus to subcommands, when present 2022-08-26 10:59:40 -05:00
cargo-example.rs docs: Move everything to docs.rs 2022-07-19 13:30:38 -05:00
demo.md fix(help): Don't rely on ALL CAPS for headers 2022-08-26 10:21:18 -05:00
demo.rs fix(derive)!: Remove value_parser/action defaulted attributes 2022-07-22 20:07:47 -05:00
escaped-positional-derive.md fix(help): Consistently use [] for positionals 2022-08-29 15:34:30 -05:00
escaped-positional-derive.rs fix(derive)!: Remove value_parser/action defaulted attributes 2022-07-22 20:07:47 -05:00
escaped-positional.md fix(help): Consistently use [] for positionals 2022-08-29 15:34:30 -05:00
escaped-positional.rs fix!: Rename Arg::number_of_values to Arg::num_args 2022-08-03 14:45:47 -05:00
find.md fix(help): Don't rely on ALL CAPS for headers 2022-08-26 10:21:18 -05:00
find.rs fix: Switch to owned types 2022-08-22 14:55:55 -05:00
git-derive.md fix(help): Consistently use [] for positionals 2022-08-29 15:34:30 -05:00
git-derive.rs fix(derive)!: Remove value_parser/action defaulted attributes 2022-07-22 20:07:47 -05:00
git.md fix(help): Consistently use [] for positionals 2022-08-29 15:34:30 -05:00
git.rs fix: Switch to owned types 2022-08-22 14:55:55 -05:00
multicall-busybox.md fix(help): Shift focus to subcommands, when present 2022-08-26 10:59:40 -05:00
multicall-busybox.rs fix: Switch to owned types 2022-08-22 14:55:55 -05:00
multicall-hostname.md fix!: Remove App alias for Command 2022-07-21 15:08:37 -05:00
multicall-hostname.rs feat(multicall): Stablize multicall 2022-05-20 12:20:40 -05:00
pacman.md fix(usage): Don't put in [--] for multiple values 2022-08-30 16:01:22 -05:00
pacman.rs fix!: Rename Arg::number_of_values to Arg::num_args 2022-08-03 14:45:47 -05:00
repl.rs fix: Switch to owned types 2022-08-22 14:55:55 -05:00
typed-derive.md fix(help): Don't rely on ALL CAPS for headers 2022-08-26 10:21:18 -05:00
typed-derive.rs fix(derive)!: Remove value_parser/action defaulted attributes 2022-07-22 20:07:47 -05:00