Skip to content

Commit fe9e370

Browse files
author
Andy Hanson
committed
Update descriptions of --allowUnusedLabels and --allowUnreachableCode
1 parent 982c8d0 commit fe9e370

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/compiler/commandLineParser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,13 +648,13 @@ namespace ts {
648648
name: "allowUnusedLabels",
649649
type: "boolean",
650650
category: Diagnostics.Advanced_Options,
651-
description: Diagnostics.Do_not_report_errors_on_unused_labels
651+
description: Diagnostics.Controls_showing_errors_for_unused_labels_true_Colon_Always_false_Colon_Never_unspecified_Colon_Not_on_command_line_but_in_editor,
652652
},
653653
{
654654
name: "allowUnreachableCode",
655655
type: "boolean",
656656
category: Diagnostics.Advanced_Options,
657-
description: Diagnostics.Do_not_report_errors_on_unreachable_code
657+
description: Diagnostics.Controls_showing_errors_for_unreachable_code_true_Colon_Always_false_Colon_Never_unspecified_Colon_Not_on_command_line_but_in_editor,
658658
},
659659
{
660660
name: "suppressExcessPropertyErrors",

src/compiler/diagnosticMessages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3060,7 +3060,7 @@
30603060
"category": "Message",
30613061
"code": 6073
30623062
},
3063-
"Do not report errors on unused labels.": {
3063+
"Controls showing errors for unused labels. 'true': Always; 'false': Never; unspecified: Not on command line, but in editor.": {
30643064
"category": "Message",
30653065
"code": 6074
30663066
},
@@ -3072,7 +3072,7 @@
30723072
"category": "Message",
30733073
"code": 6076
30743074
},
3075-
"Do not report errors on unreachable code.": {
3075+
"Controls showing errors for unreachable code. 'true': Always; 'false': Never; unspecified: Not on command line, but in editor.": {
30763076
"category": "Message",
30773077
"code": 6077
30783078
},

0 commit comments

Comments
 (0)