mirror of
https://github.com/clap-rs/clap
synced 2024-12-12 13:52:34 +00:00
docs(clap_app!): adds using the @group specifier to the macro docs
Closes #932
This commit is contained in:
parent
17c97ee8c5
commit
826048cb3c
1 changed files with 5 additions and 0 deletions
|
@ -549,6 +549,11 @@ macro_rules! app_from_crate {
|
|||
/// (@arg CONFIG: -c --config +takes_value "Sets a custom config file")
|
||||
/// (@arg INPUT: +required "Sets the input file to use")
|
||||
/// (@arg debug: -d ... "Sets the level of debugging information")
|
||||
/// (@group difficulty =>
|
||||
/// (@arg hard: -h --hard "Sets hard mode")
|
||||
/// (@arg normal: -n --normal "Sets normal mode")
|
||||
/// (@arg easy: -e --easy "Sets easy mode")
|
||||
/// )
|
||||
/// (@subcommand test =>
|
||||
/// (about: "controls testing features")
|
||||
/// (version: "1.3")
|
||||
|
|
Loading…
Reference in a new issue