Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Oct 7, 2024
1 parent 39c1bd0 commit 941efdc
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
11 changes: 10 additions & 1 deletion cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -10203,7 +10203,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

Expand All @@ -10215,6 +10219,11 @@ 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
[--fix]

Check hashes and paths of genesis files in the given node configuration file.

Usage: cardano-cli debug transaction view

Transaction commands
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Usage: cardano-cli debug check-node-configuration --node-configuration-file FILEPATH
[--fix]

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.
--fix Modify the input file in place, fixing wrong genesis
hashes (if any). This may change the file's
formatting.
-h,--help Show this help text

0 comments on commit 941efdc

Please sign in to comment.