-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Description
Display name is never set when passed in via the command line. For example:
myservice.exe action:install displayName:DoStuff
I believe the issue has to do with the following line:
https://github.com/PeterKottas/DotNetCore.CmdArgParser/blob/f5d012866e08bd7cf4e677bc55c5cf030d95665f/Source/PeterKottas.DotNetCore.CmdArgParser/Parser.cs#L39
This results in "displayname".StartsWith("displayName") which evaluates to false.
I noticed this is the only camel cased argument, while others are kebab cased. Perhaps this is the reason for this issue? Would it be possible to use "display-name" or "displayname" instead? I'm happy to throw together a pr, but I wanted to make sure that the change was in the desired direction first.
Metadata
Metadata
Assignees
Labels
No labels