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
8 changes: 7 additions & 1 deletion src/CommandLine/OptionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ public sealed class OptionAttribute : BaseAttribute
private char separator;
private string group=string.Empty;

private OptionAttribute(string shortName, string longName) : base()

/// <summary>
/// Initializes a new instance of the <see cref="CommandLine.OptionAttribute"/> class.
/// </summary>
/// <param name="shortName">The short name of the option.</param>
/// <param name="longName">The long name of the option.</param>
public OptionAttribute(string shortName, string longName) : base()
{
if (shortName == null) throw new ArgumentNullException("shortName");
if (longName == null) throw new ArgumentNullException("longName");
Expand Down