[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: fallback for config option
From: |
gnunet |
Subject: |
[libeufin] branch master updated: fallback for config option |
Date: |
Fri, 04 Nov 2022 13:35:34 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 7b3701e4 fallback for config option
7b3701e4 is described below
commit 7b3701e4e9d595e16fe42c28a363d94e12d16955
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Nov 4 13:35:31 2022 +0100
fallback for config option
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index cddcd9ec..ef511f08 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -142,9 +142,10 @@ class Config : CliktCommand(
"--show",
help = "Only show values, other options will be ignored."
).flag("--no-show", default = false)
+ // FIXME: This really should not be a global option!
private val captchaUrlOption by option(
"--captcha-url", help = "Needed for browser wallets."
- )
+ ).default("https://bank.demo.taler.net/")
private val currencyOption by option("--currency").default("EUR")
private val bankDebtLimitOption by
option("--bank-debt-limit").int().default(1000000)
private val usersDebtLimitOption by
option("--users-debt-limit").int().default(1000)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: fallback for config option,
gnunet <=