Skip to content

Commit ae1983b

Browse files
committed
Show help if --all is specifided without --help
1 parent 88b88e1 commit ae1983b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ namespace ts {
225225
return sys.exit(ExitStatus.Success);
226226
}
227227

228-
if (commandLine.options.help) {
228+
if (commandLine.options.help || commandLine.options.all) {
229229
printVersion();
230230
printHelp(commandLine.options.all);
231231
return sys.exit(ExitStatus.Success);

0 commit comments

Comments
 (0)