diff options
-rw-r--r-- | src/headless/clk.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<GN extends keyof any, TG> { if (parsedArgs[this.argKey].help) { this.printHelp(progname, parents); - process.exit(-1); + process.exit(0); throw Error("not reached"); } |