Skip to content

Commit

Permalink
Inline CommandArgument required/optional style in template parameter …
Browse files Browse the repository at this point in the history
…docs
  • Loading branch information
ArveSystad authored and patriksvensson committed Nov 25, 2022
1 parent 879dd9f commit 8398234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public sealed class CommandArgumentAttribute : Attribute
/// Initializes a new instance of the <see cref="CommandArgumentAttribute"/> class.
/// </summary>
/// <param name="position">The argument position.</param>
/// <param name="template">The argument template.</param>
/// <param name="template">The argument template. Wrap in &lt;&gt; for required arguments, [] for optional ones. For example "[MyArgument]".</param>
public CommandArgumentAttribute(int position, string template)
{
if (template == null)
Expand Down

0 comments on commit 8398234

Please sign in to comment.