fix: fixes an issue where the full help message wasn't written when doing App::write_help
Closes
@@ -1023,6 +1023,7 @@ impl<'a, 'b> App<'a, 'b> {
/// ```
/// [`io::Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
pub fn write_help<W: Write>(&self, w: &mut W) -> ClapResult<()> {
+ self.p.create_help_and_version();
Help::write_app_help(w, self)
}
