Rename --generate-map-file to --map.
authorAnubhav Srivastava <t-ansri@microsoft.com>
Tue, 10 Dec 2019 18:11:32 +0000 (10:11 -0800)
committerAnubhav Srivastava <t-ansri@microsoft.com>
Tue, 10 Dec 2019 18:11:32 +0000 (10:11 -0800)
src/coreclr/src/tools/ReadyToRun.SuperIlc/CommandLineOptions.cs
src/coreclr/src/tools/ReadyToRun.SuperIlc/CpaotRunner.cs
src/coreclr/src/tools/crossgen2/crossgen2/CommandLineOptions.cs

index f21f4e4..99171fa 100644 (file)
@@ -182,7 +182,7 @@ namespace ReadyToRun.SuperIlc
                 new Option(new[] { "--nocleanup" }, "Don't clean up compilation artifacts after test runs", new Argument<bool>());
 
             Option GenerateMapFile() =>
-                new Option(new[] { "--generate-map-file" }, "Generate a map file (Crossgen2)", new Argument<bool>());
+                new Option(new[] { "--map" }, "Generate a map file (Crossgen2)", new Argument<bool>());
 
             Option DegreeOfParallelism() =>
                 new Option(new[] { "--degree-of-parallelism", "-dop" }, "Override default compilation / execution DOP (default = logical processor count)", new Argument<int>());
index 05ddfe1..7f14e4a 100644 (file)
@@ -51,7 +51,7 @@ namespace ReadyToRun.SuperIlc
 
             if (_options.GenerateMapFile)
             {
-                yield return "--generate-map-file";
+                yield return "--map";
             }
 
             if (_options.Release)
index 9cef238..2d63bdd 100644 (file)
@@ -147,7 +147,7 @@ namespace ILCompiler
                 { 
                     Argument = new Argument<int>(() => Environment.ProcessorCount)
                 },
-                new Option(new[] { "--generate-map-file" }, "Generate the map file")
+                new Option(new[] { "--map" }, "Generate the map file")
                 {
                     Argument = new Argument<bool>()
                 },