From 33e6bfde98b9cd71aa8276601139168ac6fda524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Thu, 3 Oct 2024 14:41:05 +0200 Subject: [PATCH] Adapt golden files --- .../test/cardano-cli-golden/files/golden/help.cli | 10 +++++++++- .../cardano-cli-golden/files/golden/help/debug.cli | 8 +++++++- .../golden/help/debug_check-node-configuration.cli | 8 ++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli index d8f5e52f3d..85b48964bd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -10414,7 +10414,11 @@ Usage: cardano-cli ping [-c|--count COUNT] Ping a cardano node either using node-to-node or node-to-client protocol. It negotiates a handshake and keeps sending keep alive messages. -Usage: cardano-cli debug (log-epoch-state | transaction) +Usage: cardano-cli debug + ( log-epoch-state + | check-node-configuration + | transaction + ) Debug commands @@ -10426,6 +10430,10 @@ Usage: cardano-cli debug log-epoch-state --socket-path SOCKET_PATH and log the epoch state to a file. The log file format is line delimited JSON. The command will not terminate. +Usage: cardano-cli debug check-node-configuration --node-configuration-file FILEPATH + + Check hashes and paths of genesis files in the given node configuration file. + Usage: cardano-cli debug transaction view Transaction commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli index 7f6cdf7153..08dc78c128 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli @@ -1,4 +1,8 @@ -Usage: cardano-cli debug (log-epoch-state | transaction) +Usage: cardano-cli debug + ( log-epoch-state + | check-node-configuration + | transaction + ) Debug commands @@ -10,4 +14,6 @@ Available commands: connect to a local node and log the epoch state to a file. The log file format is line delimited JSON. The command will not terminate. + check-node-configuration Check hashes and paths of genesis files in the given + node configuration file. transaction Transaction commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli new file mode 100644 index 0000000000..f4ffe775fe --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli @@ -0,0 +1,8 @@ +Usage: cardano-cli debug check-node-configuration --node-configuration-file FILEPATH + + Check hashes and paths of genesis files in the given node configuration file. + +Available options: + --node-configuration-file FILEPATH + Input filepath of the node configuration file. + -h,--help Show this help text