Updated to C# 12
This commit is contained in:
@@ -16,7 +16,7 @@ namespace AMWD.Common.Cli
|
||||
/// <param name="parameterCount">The number of additional parameters for this option.</param>
|
||||
internal Option(string name, int parameterCount)
|
||||
{
|
||||
Names = new List<string>() { name };
|
||||
Names = [name];
|
||||
ParameterCount = parameterCount;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user