From ae1983bce1a65ecb736c3ce752eb228a4e3227b9 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Wed, 22 Mar 2017 12:45:36 -0700 Subject: [PATCH] Show help if `--all` is specifided without `--help` --- src/compiler/tsc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/tsc.ts b/src/compiler/tsc.ts index a62bad393ab..4fd3ecb02bb 100644 --- a/src/compiler/tsc.ts +++ b/src/compiler/tsc.ts @@ -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);