-
-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
bugclosed-resolvedThis issue is closed because the work done to resolve it is complete.This issue is closed because the work done to resolve it is complete.
Milestone
Description
With the latest NuGet release, an option is available to set the short name of an option, but the help message outputs what seems like an autogenerated (incorrect) one.
[Option(CommandOptionType.SingleValue, Description = "...", ValueName = "...", ShortName = "c")]
public string ConfigPath { get; set; }
[Option(CommandOptionType.SingleValue, Description = "...", ValueName = "...", ShortName = "s")]
public string CSharpPath { get; set; }
The following is the output line from help:
-c|--config-path ¥<CONFIG_PATH> ...
-c|--csharp-path ¥<CSHARP_PATH> ...
The options parses correctly when passed but the help text is misleading.
Metadata
Metadata
Assignees
Labels
bugclosed-resolvedThis issue is closed because the work done to resolve it is complete.This issue is closed because the work done to resolve it is complete.