From b68b52e95c126e0d3b9788d6332c19144f9dc7e7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 7 Dec 2019 21:38:56 +0100 Subject: [PATCH] exit with 0 when printing help --- src/headless/clk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headless/clk.ts b/src/headless/clk.ts index 828eb24c0..8b3808a3a 100644 --- a/src/headless/clk.ts +++ b/src/headless/clk.ts @@ -458,7 +458,7 @@ export class CommandGroup { if (parsedArgs[this.argKey].help) { this.printHelp(progname, parents); - process.exit(-1); + process.exit(0); throw Error("not reached"); }