Skip to content

Commit

Permalink
Fix highlighting (dotnet#28951)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdykstra authored Apr 7, 2022
1 parent a9258f9 commit 72390a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/standard/commandline/customize-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ You can add or replace a whole section of the help output. For example, suppose

Change the layout by adding a call to <xref:System.CommandLine.Help.HelpBuilder.CustomizeLayout%2A?displayProperty=nameWithType> in the lambda passed to the <xref:System.CommandLine.Builder.CommandLineBuilderExtensions.UseHelp%2A> method:

:::code language="csharp" source="snippets/customize-help/csharp/Program.cs" id="description" highlight="13-21" :::
:::code language="csharp" source="snippets/customize-help/csharp/Program.cs" id="description" highlight="14-22" :::

The <xref:System.CommandLine.Help.HelpBuilder.Default?displayProperty=nameWithType> class lets you reuse pieces of existing help formatting functionality and compose them into your custom help.

Expand Down

0 comments on commit 72390a3

Please sign in to comment.