Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CommandLine/VerbAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class VerbAttribute : Attribute
/// <param name="isDefault">Whether the verb is the default verb.</param>
/// <param name="aliases">aliases for this verb. i.e. "move" and "mv"</param>
/// <exception cref="System.ArgumentException">Thrown if <paramref name="name"/> is null, empty or whitespace and <paramref name="isDefault"/> is false.</exception>
public VerbAttribute(string name, bool isDefault = false, string[] aliases = null)
public VerbAttribute(string name, bool isDefault, params string[] aliases)
{
if (string.IsNullOrWhiteSpace(name)) throw new ArgumentException("name");

Expand Down