mirror of
https://github.com/clap-rs/clap
synced 2025-01-20 16:43:54 +00:00
5e2af8c96a
Specifies that use of a valid [argument] negates [subcomands] being used after. By default `clap` allows arguments between subcommands such as `<cmd> [cmd_args] <cmd2> [cmd2_args] <cmd3> [cmd3_args]`. This setting disables that functionality and says that arguments can only follow the *final* subcommand. For instance using this setting makes only the following invocations possible: * `<cmd> <cmd2> <cmd3> [cmd3_args]` * `<cmd> <cmd2> [cmd2_args]` * `<cmd> [cmd_args]` Closes #793 |
||
---|---|---|
.. | ||
app | ||
args | ||
completions | ||
errors.rs | ||
fmt.rs | ||
lib.rs | ||
macros.rs | ||
osstringext.rs | ||
strext.rs | ||
suggestions.rs | ||
usage_parser.rs |