Skip to content

Commit

Permalink
docs(clap_app!): adds using the @group specifier to the macro docs
Browse files Browse the repository at this point in the history
Closes #932
  • Loading branch information
kbknapp committed May 15, 2017
1 parent 9569c06 commit fe85fcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit fe85fcb

Please sign in to comment.