Merged PR 799130: Clean up /scriptfile arg todo

Clean up /scriptfile arg todo
This commit is contained in:
Michael Pysson 2024-08-23 20:20:28 +00:00
Родитель 738d6827c7
Коммит 5b92e248f3
3 изменённых файлов: 0 добавлений и 15 удалений

Просмотреть файл

@ -953,13 +953,6 @@ namespace BuildXL
OptionHandlerFactory.CreateBoolOption( OptionHandlerFactory.CreateBoolOption(
"scheduleMetaPips", "scheduleMetaPips",
sign => schedulingConfiguration.ScheduleMetaPips = sign), sign => schedulingConfiguration.ScheduleMetaPips = sign),
OptionHandlerFactory.CreateOption2(
"scriptFile",
"s",
opt =>
{
throw CommandLineUtilities.Error(Strings.Args_ScriptFile_Deprecated, CommandLineUtilities.ParseStringOption(opt));
}),
OptionHandlerFactory.CreateBoolOption( OptionHandlerFactory.CreateBoolOption(
"scriptShowLargest", "scriptShowLargest",
opt => frontEndConfiguration.ShowLargestFilesStatistics = opt), opt => frontEndConfiguration.ShowLargestFilesStatistics = opt),

Просмотреть файл

@ -31,8 +31,6 @@ namespace BuildXL
hw.WriteLine(); hw.WriteLine();
} }
// BUG: should display list of available qualifiers
// BUG: should display list of available filter tags
public static void DisplayHelp(HelpLevel helpLevel) public static void DisplayHelp(HelpLevel helpLevel)
{ {
var hw = new HelpWriter(helpLevel); var hw = new HelpWriter(helpLevel);
@ -176,9 +174,6 @@ namespace BuildXL
"/canonicalizeFilterOutputs[+|-]", "/canonicalizeFilterOutputs[+|-]",
Strings.HelpText_DisplayHelp_CanonicalizeFilterOutputs); Strings.HelpText_DisplayHelp_CanonicalizeFilterOutputs);
// TODO: This option is DScript only. It isn't shown in the help text because we have the goal of
// removing it and unifying it with the standard filtering above.
// hw.WriteOption("scriptFile"
#endregion #endregion
hw.WriteBanner(Strings.HelpText_DisplayHelp_LoggingBanner); hw.WriteBanner(Strings.HelpText_DisplayHelp_LoggingBanner);

Просмотреть файл

@ -255,9 +255,6 @@
<data name="HelpText_DisplayHelp_Incremental" xml:space="preserve"> <data name="HelpText_DisplayHelp_Incremental" xml:space="preserve">
<value>When enabled, artifacts are built incrementally based on which source files have changed. Defaults to on.</value> <value>When enabled, artifacts are built incrementally based on which source files have changed. Defaults to on.</value>
</data> </data>
<data name="Args_ScriptFile_Deprecated" xml:space="preserve">
<value>Error: /scriptfile: and /s: have been deprecated so instead of using /s:{0} you can use /filter:spec={0} or just {0} without the /s: prefix.</value>
</data>
<data name="App_Main_Log" xml:space="preserve"> <data name="App_Main_Log" xml:space="preserve">
<value> Log: {0}</value> <value> Log: {0}</value>
</data> </data>