From 00b15465dbce191c5b8a57594550fa87d858dec4 Mon Sep 17 00:00:00 2001 From: Albert Perez Toro Date: Wed, 16 Oct 2024 16:46:28 +0200 Subject: [PATCH] Change downloadcommunitysnapshot argument --- node-runner-cli/commands/dockercommand.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/node-runner-cli/commands/dockercommand.py b/node-runner-cli/commands/dockercommand.py index 418f4437..8e4ca00c 100644 --- a/node-runner-cli/commands/dockercommand.py +++ b/node-runner-cli/commands/dockercommand.py @@ -144,6 +144,16 @@ def dockercommand(dockercommand_args=[], parent=docker_parser): default="", choices=["true", "false"], ), + argument( + "-dcs", + "--downloadcommunitysnapshot", + help="Boolean to indicate if in case of empty ledger, download latest community snapshot" + "Set this to false to not download the latest community snapshot" + f"The default value is true if not provided", + default="true", + action="store", + choices=["true", "false"], + ) ] ) def config(args): @@ -229,15 +239,6 @@ def config(args): help="Pass this option to update the deployed softwares to latest version." " CLI prompts to confirm the versions if '-a' is not passed", action="store_true", - ), - argument( - "-dcs", - "--downloadcommunitysnapshot", - help="Boolean to indicate if in case of empty ledger, downloads latest community snapshot" - "It is templated into default.config and acts as custom configuration that is not overwritten on install. " - f"The default value is true if not provided", - default="true", - action="store", ) ] )