Skip to content

Commit

Permalink
integation+bugfix: Fix regression, document title missing ..
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorGray committed Jun 15, 2024
1 parent d21b18b commit 018579d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/complex-app.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Command-Line Help for complex-app
# Command-Line Help for `complex-app`

This document contains the help content for the `complex-app` command-line program.

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn write_help_markdown(

let title = match options.title {
Some(ref title) => title.to_owned(),
None => format!("Command-Line Help for {title_name}"),
None => format!("Command-Line Help for `{title_name}`"),
};
writeln!(buffer, "# {title}\n",).unwrap();

Expand Down

0 comments on commit 018579d

Please sign in to comment.