Fix --project help

This commit is contained in:
Homa Wong
2017-01-06 23:44:17 -08:00
parent 5b075ff924
commit 54e9ae32e6
2 changed files with 8 additions and 4 deletions
+3 -3
View File
@@ -212,8 +212,8 @@ namespace ts {
shortName: "p",
type: "string",
isFilePath: true,
description: Diagnostics.Compile_the_project_in_the_given_directory,
paramType: Diagnostics.DIRECTORY
description: Diagnostics.Compile_the_project_in_the_given_directory_using_tsconfig_json_or_the_specified_config_file,
paramType: Diagnostics.DIRECTORY_OR_FILE
},
{
name: "removeComments",
@@ -517,7 +517,7 @@ namespace ts {
include: typeAcquisition.include || [],
exclude: typeAcquisition.exclude || []
};
return result;
return result;
}
return typeAcquisition;
}
+5 -1
View File
@@ -2513,7 +2513,7 @@
"category": "Message",
"code": 6019
},
"Compile the project in the given directory.": {
"Compile the project in the given directory, using 'tsconfig.json' or the specified config file.": {
"category": "Message",
"code": 6020
},
@@ -2573,6 +2573,10 @@
"category": "Message",
"code": 6039
},
"DIRECTORY_OR_FILE": {
"category": "Message",
"code": 6040
},
"Compilation complete. Watching for file changes.": {
"category": "Message",
"code": 6042