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:22:33 +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 201f43d0 use consistent argument format in --help output
201f43d0 is described below

commit 201f43d0302cc9dfb1b9c605d7cd6197b2888e2e
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Mon Jan 17 20:22:27 2022 -0500

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

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index dc0c552a..115ddb7f 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -84,7 +84,7 @@ class Serve : CliktCommand("Run nexus HTTP server") {
 
 class ParseCamt : CliktCommand("Parse a camt file") {
     private val logLevel by option()
-    private val filename by argument()
+    private val filename by argument("FILENAME", "File in CAMT format")
     override fun run() {
         setLogLevel(logLevel)
         val camtText = File(filename).readText(Charsets.UTF_8)
@@ -109,7 +109,7 @@ class ResetTables : CliktCommand("Drop all the tables from 
the database") {
 }
 
 class Superuser : CliktCommand("Add superuser or change pw") {
-    private val username by argument()
+    private val username by argument("USERNAME", "User name of superuser")
     private val password by option().prompt(requireConfirmation = true, 
hideInput = true)
     override fun run() {
         execThrowableOrTerminate {

-- 
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]