gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: exit with 0 when printing hel


From: gnunet
Subject: [taler-wallet-core] branch master updated: exit with 0 when printing help
Date: Sat, 07 Dec 2019 21:39:04 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new b68b52e9 exit with 0 when printing help
b68b52e9 is described below

commit b68b52e95c126e0d3b9788d6332c19144f9dc7e7
Author: Florian Dold <address@hidden>
AuthorDate: Sat Dec 7 21:38:56 2019 +0100

    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 828eb24c..8b3808a3 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");
     }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]