docs(clap_app!): adds using the @group specifier to the macro docs

Closes #932
This commit is contained in:
Kevin K 2017-05-15 18:34:10 -04:00
parent 17c97ee8c5
commit 826048cb3c

View file

@ -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")