diff --git a/CliFx.Tests/CliApplicationTests.cs b/CliFx.Tests/CliApplicationTests.cs index e4abbdd..2553908 100644 --- a/CliFx.Tests/CliApplicationTests.cs +++ b/CliFx.Tests/CliApplicationTests.cs @@ -257,10 +257,10 @@ namespace CliFx.Tests "Description", "Command using positional parameters", "Usage", - TestAppName, "param cmd", "", "", "", "[options]", + TestAppName, "param cmd", "", "", "", "[options]", "Parameters", "* first", - "* PARAMETERB", + "* parameterb", "* third list", "A list of numbers", "Options", "-o|--option", diff --git a/CliFx/Domain/CommandParameterSchema.cs b/CliFx/Domain/CommandParameterSchema.cs index 82a83db..b1e8da9 100644 --- a/CliFx/Domain/CommandParameterSchema.cs +++ b/CliFx/Domain/CommandParameterSchema.cs @@ -12,7 +12,7 @@ namespace CliFx.Domain public string DisplayName => !string.IsNullOrWhiteSpace(Name) ? Name - : Property.Name.ToUpperInvariant(); + : Property.Name.ToLowerInvariant(); public CommandParameterSchema(PropertyInfo property, int order, string? name, string? description) : base(property, description)