Added '--diagnosticStyle' compiler argument with options 'simple' and 'pretty'.

This commit is contained in:
Daniel Rosenwasser
2015-09-18 19:12:08 -07:00
parent 44f3c0ca8a
commit ac5bed86b2
5 changed files with 45 additions and 11 deletions

View File

@@ -20,6 +20,17 @@ namespace ts {
name: "diagnostics",
type: "boolean",
},
{
name: "diagnosticStyle",
paramType: Diagnostics.KIND,
description: Diagnostics.Specify_diagnostic_printing_style_Colon_simple_default_or_pretty,
type: {
"simple": DiagnosticStyle.Simple,
"pretty": DiagnosticStyle.Pretty,
},
error: Diagnostics.Argument_for_diagnosticStyle_must_be_simple_or_pretty,
experimental: true,
},
{
name: "emitBOM",
type: "boolean"