diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index e4c4edcb4db61..6f1d633eadaff 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -697,14 +697,14 @@ namespace ts { type: "boolean", affectsSemanticDiagnostics: true, category: Diagnostics.Advanced_Options, - description: Diagnostics.Do_not_report_errors_on_unused_labels + description: Diagnostics.Controls_showing_errors_for_unused_labels_true_Colon_Never_show_errors_false_Colon_Always_show_errors_unspecified_Colon_Show_errors_in_editor_but_not_command_line, }, { name: "allowUnreachableCode", type: "boolean", affectsSemanticDiagnostics: true, category: Diagnostics.Advanced_Options, - description: Diagnostics.Do_not_report_errors_on_unreachable_code + description: Diagnostics.Controls_showing_errors_for_unreachable_code_true_Colon_Never_show_errors_false_Colon_Always_show_errors_unspecified_Colon_Show_errors_in_editor_but_not_command_line, }, { name: "suppressExcessPropertyErrors", diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 9ba3c4e8cf150..844c0973d78cf 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -3150,7 +3150,7 @@ "category": "Message", "code": 6073 }, - "Do not report errors on unused labels.": { + "Controls showing errors for unused labels. 'true': Never show errors; 'false': Always show errors; unspecified: Show errors in editor, but not command line.": { "category": "Message", "code": 6074 }, @@ -3162,7 +3162,7 @@ "category": "Message", "code": 6076 }, - "Do not report errors on unreachable code.": { + "Controls showing errors for unreachable code. 'true': Never show errors; 'false': Always show errors; unspecified: Show errors in editor, but not command line.": { "category": "Message", "code": 6077 },