mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Inline CommandArgument required/optional style in template parameter docs
This commit is contained in:
parent
879dd9fbb1
commit
83982347f6
@ -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 <> for required arguments, [] for optional ones. For example "[MyArgument]".</param>
|
||||
public CommandArgumentAttribute(int position, string template)
|
||||
{
|
||||
if (template == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user