From 83982347f6956ccf910b7ed338b05dcfb28ea258 Mon Sep 17 00:00:00 2001 From: Arve Systad Date: Thu, 24 Nov 2022 23:01:41 +0100 Subject: [PATCH] Inline CommandArgument required/optional style in template parameter docs --- src/Spectre.Console.Cli/Annotations/CommandArgumentAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Spectre.Console.Cli/Annotations/CommandArgumentAttribute.cs b/src/Spectre.Console.Cli/Annotations/CommandArgumentAttribute.cs index 4d7e6b0..a371605 100644 --- a/src/Spectre.Console.Cli/Annotations/CommandArgumentAttribute.cs +++ b/src/Spectre.Console.Cli/Annotations/CommandArgumentAttribute.cs @@ -31,7 +31,7 @@ public sealed class CommandArgumentAttribute : Attribute /// Initializes a new instance of the class. /// /// The argument position. - /// The argument template. + /// The argument template. Wrap in <> for required arguments, [] for optional ones. For example "[MyArgument]". public CommandArgumentAttribute(int position, string template) { if (template == null)