(sys System, locale locale.Locale, buildOptions []*tsoptions.CommandLineOption)
| 133 | } |
| 134 | |
| 135 | func PrintBuildHelp(sys System, locale locale.Locale, buildOptions []*tsoptions.CommandLineOption) { |
| 136 | var output []string |
| 137 | output = append(output, getHeader(sys, diagnostics.X_tsc_Colon_The_TypeScript_Compiler.Localize(locale)+" - "+diagnostics.Version_0.Localize(locale, core.Version()))...) |
| 138 | before := diagnostics.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0.Localize(locale, "https://aka.ms/tsc-composite-builds") |
| 139 | options := core.Filter(buildOptions, func(option *tsoptions.CommandLineOption) bool { |
| 140 | return option != &tsoptions.TscBuildOption |
| 141 | }) |
| 142 | output = append(output, generateSectionOptionsOutput(sys, locale, diagnostics.BUILD_OPTIONS.Localize(locale), options, false, &before, nil)...) |
| 143 | |
| 144 | for _, chunk := range output { |
| 145 | fmt.Fprint(sys.Writer(), chunk) |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | func generateSectionOptionsOutput( |
| 150 | sys System, |
no test coverage detected