mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 06:41:59 -06:00
Show help if --all is specifided without --help
This commit is contained in:
parent
88b88e1055
commit
ae1983bce1
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user