From 018579d0eefe4d23cd9fbca2fa2042e834ab63e3 Mon Sep 17 00:00:00 2001 From: Connor Gray Date: Sat, 15 Jun 2024 13:21:14 -0700 Subject: [PATCH] integation+bugfix: Fix regression, document title missing `..` --- docs/examples/complex-app.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/complex-app.md b/docs/examples/complex-app.md index 5df7099..3c10be6 100644 --- a/docs/examples/complex-app.md +++ b/docs/examples/complex-app.md @@ -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. diff --git a/src/lib.rs b/src/lib.rs index 941c4bd..eeeb7c4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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();