mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
imp(Help): default help subcommand string has been shortened
Closes #494
This commit is contained in:
parent
dae2d93bdd
commit
5b7fe8e416
1 changed files with 3 additions and 3 deletions
|
@ -819,7 +819,7 @@ impl<'a, 'b> Parser<'a, 'b> where 'a: 'b {
|
||||||
.iter()
|
.iter()
|
||||||
.any(|s| &s.p.meta.name[..] == "help") {
|
.any(|s| &s.p.meta.name[..] == "help") {
|
||||||
debugln!("Building help");
|
debugln!("Building help");
|
||||||
self.subcommands.push(App::new("help").about("Prints this message or the help message of the given subcommand(s)"));
|
self.subcommands.push(App::new("help").about("Prints this message or the help of the given subcommand(s)"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue