diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-07 21:38:56 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-07 21:38:56 +0100 |
commit | b68b52e95c126e0d3b9788d6332c19144f9dc7e7 (patch) | |
tree | 65121e87f75efc9dc0adf7a1ab05be8d1e57aeb3 /src/headless | |
parent | e435f5b431ced3790d477ca44542cc06aa80a068 (diff) |
exit with 0 when printing help
Diffstat (limited to 'src/headless')
-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"); } |