Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/build/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down