Improve crossgen2 help text (#55977)
authorDavid Wrighton <davidwr@microsoft.com>
Tue, 20 Jul 2021 02:29:13 +0000 (19:29 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Jul 2021 02:29:13 +0000 (19:29 -0700)
commiteb1e55e3ce30ca77e490324a0c3b60ab99ae66b0
tree76ada587be222d22d2a77eaed6ac83cb239e14ec
parent16359b229af9e7e0ed0d19eeca07c2e8ebb82c8a
Improve crossgen2 help text (#55977)

- Add handling of "-?" and no command line arguments.
- Print out default values for --targetos and --targetarch
- Describe behavior of response files
- Describe the behavior of the -- switch
- Describe in much greater detail the valid values for the --instruction-set switch

Fix #47486

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/coreclr/tools/Common/CommandLine/ArgumentSyntax.cs
src/coreclr/tools/Common/CommandLine/HelpTextGenerator.cs
src/coreclr/tools/aot/crossgen2/CommandLineOptions.cs
src/coreclr/tools/aot/crossgen2/Program.cs
src/coreclr/tools/aot/crossgen2/Properties/Resources.resx