clap/examples
Ed Page c9eef44213 fix: Make arg!(--flag <value>) optional by default
This was ported over from the usage parser which modeled after docopt.
We just never got around to implementing the rest of the syntax.

However, when considering this as a standalone feature, an
`arg!(--flag <value>)`, outside of other context, should be optional.
This is how the help would display it.

Fixes #4206
2022-09-12 17:10:01 -05:00
..
derive_ref fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
tutorial_builder fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
tutorial_derive fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
cargo-example-derive.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
cargo-example-derive.rs docs(derive): Update for new attributes 2022-09-02 15:39:13 -05:00
cargo-example.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
cargo-example.rs fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
demo.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
demo.rs docs(derive): Update for new attributes 2022-09-02 15:39:13 -05:00
escaped-positional-derive.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
escaped-positional-derive.rs docs(derive): Update for new attributes 2022-09-02 15:39:13 -05:00
escaped-positional.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
escaped-positional.rs fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
find.md fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
find.rs fix: Switch to owned types 2022-08-22 14:55:55 -05:00
git-derive.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
git-derive.rs docs: Show how last can be used 2022-09-07 11:27:39 -05:00
git.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
git.rs fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
multicall-busybox.md fix(help): Make output more dense 2022-09-07 17:13:55 -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(help): Make output more dense 2022-09-07 17:13:55 -05:00
pacman.rs feat(parser): Provide convenience for SetTrue 2022-09-01 19:40:56 -05:00
repl.rs fix: Switch to owned types 2022-08-22 14:55:55 -05:00
typed-derive.md fix(help): Make output more dense 2022-09-07 17:13:55 -05:00
typed-derive.rs docs(derive): Update for new attributes 2022-09-02 15:39:13 -05:00