Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Dec 14, 2023
1 parent 2e68ad1 commit 7bb38c3
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 55 deletions.
24 changes: 13 additions & 11 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ Usage: cardano-cli shelley transaction txid

Print a transaction identifier.

Usage: cardano-cli shelley transaction view [--output-format STRING]
Usage: cardano-cli shelley transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -2323,7 +2323,7 @@ Usage: cardano-cli allegra transaction txid

Print a transaction identifier.

Usage: cardano-cli allegra transaction view [--output-format STRING]
Usage: cardano-cli allegra transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -3463,7 +3463,7 @@ Usage: cardano-cli mary transaction txid (--tx-body-file FILE | --tx-file FILE)

Print a transaction identifier.

Usage: cardano-cli mary transaction view [--output-format STRING]
Usage: cardano-cli mary transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -4626,7 +4626,7 @@ Usage: cardano-cli alonzo transaction txid

Print a transaction identifier.

Usage: cardano-cli alonzo transaction view [--output-format STRING]
Usage: cardano-cli alonzo transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -5811,7 +5811,7 @@ Usage: cardano-cli babbage transaction txid

Print a transaction identifier.

Usage: cardano-cli babbage transaction view [--output-format STRING]
Usage: cardano-cli babbage transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -6258,7 +6258,9 @@ Usage: cardano-cli conway governance action create-treasury-withdrawal
Create a treasury withdrawal.

Usage: cardano-cli conway governance action view --action-file FILE
[--output-format STRING]
[ --output-json
| --output-yaml
]
[--out-file FILE]

View a governance action.
Expand Down Expand Up @@ -6399,7 +6401,7 @@ Usage: cardano-cli conway governance vote create (--yes | --no | --abstain)

Vote creation.

Usage: cardano-cli conway governance vote view [--output-format STRING]
Usage: cardano-cli conway governance vote view [--output-json | --output-yaml]
--vote-file FILE
[--out-file FILE]

Expand Down Expand Up @@ -7320,7 +7322,7 @@ Usage: cardano-cli conway transaction txid

Print a transaction identifier.

Usage: cardano-cli conway transaction view [--output-format STRING]
Usage: cardano-cli conway transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -8502,7 +8504,7 @@ Usage: cardano-cli latest transaction txid

Print a transaction identifier.

Usage: cardano-cli latest transaction view [--output-format STRING]
Usage: cardano-cli latest transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -9540,7 +9542,7 @@ Usage: cardano-cli legacy transaction txid

Print a transaction identifier.

Usage: cardano-cli legacy transaction view [--output-format STRING]
Usage: cardano-cli legacy transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand Down Expand Up @@ -10733,7 +10735,7 @@ Usage: cardano-cli transaction txid (--tx-body-file FILE | --tx-file FILE)

Print a transaction identifier.

Usage: cardano-cli transaction view [--output-format STRING]
Usage: cardano-cli transaction view [--output-json | --output-yaml]
[--out-file FILE]
(--tx-body-file FILE | --tx-file FILE)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli allegra transaction view [--output-format STRING]
Usage: cardano-cli allegra transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli allegra transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli alonzo transaction view [--output-format STRING]
Usage: cardano-cli alonzo transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli alonzo transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli babbage transaction view [--output-format STRING]
Usage: cardano-cli babbage transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli babbage transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
Usage: cardano-cli conway governance action view --action-file FILE
[--output-format STRING]
[ --output-json
| --output-yaml
]
[--out-file FILE]

View a governance action.

Available options:
--action-file FILE Path to action file.
--output-format STRING Optional governance action view output format.
Accepted output formats are "json" and "yaml"
(default is "json").
--output-json Format governance action view output to JSON.
--output-yaml Format governance action view output to YAML.
Defaults to JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Usage: cardano-cli conway governance vote view [--output-format STRING]
Usage: cardano-cli conway governance vote view [--output-json | --output-yaml]
--vote-file FILE
[--out-file FILE]

Vote viewing.

Available options:
--output-format STRING Optional governance vote view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format governance vote view output to JSON.
--output-yaml Format governance vote view output to YAML. Defaults
to JSON if unspecified.
--vote-file FILE Input filepath of the vote.
--out-file FILE Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli conway transaction view [--output-format STRING]
Usage: cardano-cli conway transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli conway transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli latest transaction view [--output-format STRING]
Usage: cardano-cli latest transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli latest transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli legacy transaction view [--output-format STRING]
Usage: cardano-cli legacy transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli legacy transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli mary transaction view [--output-format STRING]
Usage: cardano-cli mary transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli mary transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Usage: cardano-cli shelley transaction view [--output-format STRING]
Usage: cardano-cli shelley transaction view [--output-json | --output-yaml]
[--out-file FILE]
( --tx-body-file FILE
| --tx-file FILE
Expand All @@ -7,9 +7,9 @@ Usage: cardano-cli shelley transaction view [--output-format STRING]
Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Usage: cardano-cli transaction view [--output-format STRING]
Usage: cardano-cli transaction view [--output-json | --output-yaml]
[--out-file FILE]
(--tx-body-file FILE | --tx-file FILE)

Print a transaction.

Available options:
--output-format STRING Optional transaction view output format. Accepted
output formats are "json" and "yaml" (default is
"json").
--output-json Format transaction view output to JSON.
--output-yaml Format transaction view output to YAML. Defaults to
JSON if unspecified.
--out-file FILE Optional output file. Default is to write to stdout.
--tx-body-file FILE Input filepath of the JSON TxBody.
--tx-file FILE Input filepath of the JSON Tx.
Expand Down

0 comments on commit 7bb38c3

Please sign in to comment.