Skip to content

Commit e73ec08

Browse files
committed
add App::get_long_about
1 parent d97c038 commit e73ec08

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/build/app/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ impl<'help> App<'help> {
137137
self.about
138138
}
139139

140+
/// Get the help message specified via [`App::long_about`].
141+
///
142+
/// [`App::long_about`]: App::long_about()
143+
#[inline]
144+
pub fn get_long_about(&self) -> Option<&str> {
145+
self.long_about
146+
}
147+
140148
/// Iterate through the *visible* aliases for this subcommand.
141149
#[inline]
142150
pub fn get_visible_aliases(&self) -> impl Iterator<Item = &str> {

0 commit comments

Comments
 (0)