mirror of
https://github.com/clap-rs/clap
synced 2024-11-13 16:17:09 +00:00
add App::get_long_about
This commit is contained in:
parent
d97c038b1b
commit
e73ec0887d
1 changed files with 8 additions and 0 deletions
|
@ -137,6 +137,14 @@ impl<'help> App<'help> {
|
|||
self.about
|
||||
}
|
||||
|
||||
/// Get the help message specified via [`App::long_about`].
|
||||
///
|
||||
/// [`App::long_about`]: App::long_about()
|
||||
#[inline]
|
||||
pub fn get_long_about(&self) -> Option<&str> {
|
||||
self.long_about
|
||||
}
|
||||
|
||||
/// Iterate through the *visible* aliases for this subcommand.
|
||||
#[inline]
|
||||
pub fn get_visible_aliases(&self) -> impl Iterator<Item = &str> {
|
||||
|
|
Loading…
Reference in a new issue