gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: use consistent argument format in --he


From: gnunet
Subject: [libeufin] branch master updated: use consistent argument format in --help output
Date: Tue, 18 Jan 2022 02:21:16 +0100

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

ttn pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 86de179f use consistent argument format in --help output
86de179f is described below

commit 86de179f4a6338725cd910d88675f63e092586bc
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Mon Jan 17 20:21:03 2022 -0500

    use consistent argument format in --help output
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 117bcb0a..5b9e813c 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -234,8 +234,8 @@ class MakeTransaction : CliktCommand("Wire-transfer money 
between Sandbox bank a
     private val creditAccount by option(help = "Label of the bank account 
receiving the payment").required()
     private val debitAccount by option(help = "Label of the bank account 
issuing the payment").required()
     private val demobankArg by option("--demobank", help = "Which Demobank 
books this transaction").default("default")
-    private val amount by argument(help = "Amount, in the \$currency:x.y 
format")
-    private val subjectArg by argument(name = "subject", help = "Payment's 
subject")
+    private val amount by argument("AMOUNT", "Amount, in the \$currency:x.y 
format")
+    private val subjectArg by argument("SUBJECT", "Payment's subject")
 
     override fun run() {
         val dbConnString = getDbConnFromEnv(SANDBOX_DB_ENV_VAR_NAME)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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