Skip to content

Commit 41af749

Browse files
committed
Update based on feedback
1 parent 54e9ae3 commit 41af749

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
@@ -212,8 +212,8 @@ namespace ts {
212212
shortName: "p",
213213
type: "string",
214214
isFilePath: true,
215-
description: Diagnostics.Compile_the_project_in_the_given_directory_using_tsconfig_json_or_the_specified_config_file,
216-
paramType: Diagnostics.DIRECTORY_OR_FILE
215+
description: Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json,
216+
paramType: Diagnostics.FILE_OR_DIRECTORY
217217
},
218218
{
219219
name: "removeComments",

src/compiler/diagnosticMessages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2513,7 +2513,7 @@
25132513
"category": "Message",
25142514
"code": 6019
25152515
},
2516-
"Compile the project in the given directory, using 'tsconfig.json' or the specified config file.": {
2516+
"Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'": {
25172517
"category": "Message",
25182518
"code": 6020
25192519
},
@@ -2573,7 +2573,7 @@
25732573
"category": "Message",
25742574
"code": 6039
25752575
},
2576-
"DIRECTORY_OR_FILE": {
2576+
"FILE OR DIRECTORY": {
25772577
"category": "Message",
25782578
"code": 6040
25792579
},

0 commit comments

Comments
 (0)