Show help if --all is specifided without --help

This commit is contained in:
Mohamed Hegazy 2017-03-22 12:45:36 -07:00
parent 88b88e1055
commit ae1983bce1

View File

@ -225,7 +225,7 @@ namespace ts {
return sys.exit(ExitStatus.Success);
}
if (commandLine.options.help) {
if (commandLine.options.help || commandLine.options.all) {
printVersion();
printHelp(commandLine.options.all);
return sys.exit(ExitStatus.Success);