libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

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

use consistent argument format in --help output

Diffstat:
Msandbox/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 @@ -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)