You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument.HelpName needs to be removed and Argument.Name should be used instead
Option<T> should require a mandatory name to be provided in explicit way in every ctor. Currently, when the user provides multiple aliases we are choosing the longest one and removing the prefix. It should be explicit.
Based on our discussion in #2046 we have agreed that:
Argument<T>should require a mandatory name to be provided in everyctor:command-line-api/src/System.CommandLine/Argument{T}.cs
Line 19 in 76437b0
Argument.HelpNameneeds to be removed andArgument.Nameshould be used insteadOption<T>should require a mandatory name to be provided in explicit way in everyctor. Currently, when the user provides multiple aliases we are choosing the longest one and removing the prefix. It should be explicit.command-line-api/src/System.CommandLine/Option{T}.cs
Lines 23 to 24 in 76437b0
Option.ArgumentHelpNameneeds to be removedThis issue might seem simple to implement, but I expect it to require a LOT of test changes.