commit c3764f2a2d465e1f89b40f60ed6e2634edf073c4
parent 93f45f454ca081639c29d3340ad3da572c0db90e
Author: ms <ms@taler.net>
Date: Tue, 10 May 2022 12:37:43 +0200
help message
Diffstat:
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
@@ -138,7 +138,7 @@ class Config : CliktCommand(
)
private val overrideOption by option(
"--override",
- help = "Override an existing --allow/disallow -registrations policy." +
+ help = "Override an existing --with/--without -registrations policy." +
" It has NO effect on other options"
).flag("--no-override", default = false)
private val currencyOption by option("--currency").default("EUR")
@@ -163,6 +163,7 @@ class Config : CliktCommand(
}.firstOrNull()
if (maybeDemobank != null) {
if (overrideOption) {
+ println("Overriding the registration policy")
maybeDemobank.allowRegistrations = allowRegistrationsOption
return@transaction
}