Go to file
Doug Bunting 1153f0d1de Add switch to enable expected and unexpected arguments in any order (dotnet/extensions#2210)
- unblocks work on aspnet/AspNetCoredotnet/extensions#4923
  - arguments for inside and outside men of service reference doc gen tool are mixed by default
  - users may add either argument type to the end of the outside man's command line
- e.g. "command --unexpected unexpectedValue --expected" can now set the "expected" option
  - only "--unexpected" and "unexpectedValue" are added to RemainingArguments in that case

- default behaviour of the command-line parser is unchanged to avoid breaking existing applications
- new switch is supported only when calling `CommandLineApplication` constructor for top-level commands
  - `dotnet-getdocument` (the outside man) has no (sub)commands and expanding scope would increase churn

nits: take VS suggestions in changed files\n\nCommit migrated from e4433979b6
2019-08-22 14:25:13 -07:00
src Add switch to enable expected and unexpected arguments in any order (dotnet/extensions#2210) 2019-08-22 14:25:13 -07:00