From 0140cddefb088ccd116ce7fc474786587f147511 Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Thu, 22 Aug 2024 16:12:42 +0200 Subject: [PATCH] Fix fee rendering --- .../CLI/EraBased/Options/Transaction.hs | 4 +++- .../Cardano/CLI/EraBased/Run/Transaction.hs | 2 +- cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 4 +++- .../cardano-cli-golden/files/golden/help.cli | 18 +++++++++--------- .../files/golden/help/allegra_transaction.cli | 2 +- .../help/allegra_transaction_build-raw.cli | 2 +- .../files/golden/help/alonzo_transaction.cli | 2 +- .../help/alonzo_transaction_build-raw.cli | 2 +- .../files/golden/help/babbage_transaction.cli | 2 +- .../help/babbage_transaction_build-raw.cli | 2 +- .../files/golden/help/conway_transaction.cli | 2 +- .../help/conway_transaction_build-raw.cli | 2 +- .../files/golden/help/latest_transaction.cli | 2 +- .../help/latest_transaction_build-raw.cli | 2 +- .../files/golden/help/legacy_transaction.cli | 2 +- .../help/legacy_transaction_build-raw.cli | 2 +- .../files/golden/help/mary_transaction.cli | 2 +- .../golden/help/mary_transaction_build-raw.cli | 2 +- .../files/golden/help/shelley_transaction.cli | 2 +- .../help/shelley_transaction_build-raw.cli | 2 +- .../files/golden/help/transaction.cli | 2 +- .../golden/help/transaction_build-raw.cli | 2 +- 22 files changed, 34 insertions(+), 30 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs index c503b64986..b398d1bd76 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs @@ -49,7 +49,9 @@ pTransactionCmds era envCli = , line , H.yellow $ mconcat - [ "Please note the order of some cmd options is crucial. If used incorrectly may produce " + [ "Please note " + , H.underline "the order" + , " of some cmd options is crucial. If used incorrectly may produce " , "undesired tx body. See nested [] notation above for details." ] ] diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs index a1261e89f0..ca2db2e109 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs @@ -1065,7 +1065,7 @@ runTxBuild cAddr mOverrideWits - liftIO $ putStrLn $ "Estimated transaction fee: " <> (show fee :: String) + liftIO . putStrLn . docToString $ "Estimated transaction fee: " <> pretty fee return balancedTxBody diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index 115ab0fcc2..a9097f7101 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -238,7 +238,9 @@ pTransaction envCli = , line , H.yellow $ mconcat - [ "Please note the order of some cmd options is crucial. If used incorrectly may produce " + [ "Please note " + , H.underline "the order" + , " of some cmd options is crucial. If used incorrectly may produce " , "undesired tx body. See nested [] notation above for details." ] ] 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 a3c951f4fd..25db8fed13 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -964,7 +964,7 @@ Usage: cardano-cli shelley transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli shelley transaction build --socket-path SOCKET_PATH [--cardano-mode @@ -2159,7 +2159,7 @@ Usage: cardano-cli allegra transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli allegra transaction build --socket-path SOCKET_PATH [--cardano-mode @@ -3346,7 +3346,7 @@ Usage: cardano-cli mary transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli mary transaction build --socket-path SOCKET_PATH [--cardano-mode @@ -4668,7 +4668,7 @@ Usage: cardano-cli alonzo transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli alonzo transaction build --socket-path SOCKET_PATH [--cardano-mode @@ -6022,7 +6022,7 @@ Usage: cardano-cli babbage transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli babbage transaction build --socket-path SOCKET_PATH [--cardano-mode @@ -7869,7 +7869,7 @@ Usage: cardano-cli conway transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH [--cardano-mode @@ -9279,7 +9279,7 @@ Usage: cardano-cli latest transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH [--cardano-mode @@ -10457,7 +10457,7 @@ Usage: cardano-cli legacy transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli legacy transaction build --socket-path SOCKET_PATH [ --shelley-era @@ -11732,7 +11732,7 @@ Usage: cardano-cli transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli transaction build --socket-path SOCKET_PATH [ --shelley-era diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli index d90275a383..7bfcf31935 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli @@ -21,7 +21,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli index d926f2e361..1574a77e15 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli @@ -124,7 +124,7 @@ Usage: cardano-cli allegra transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --script-valid Assertion that the script is valid. (default) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli index 02c439dac0..f0b098886f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli @@ -22,7 +22,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli index bb9ec44825..0b03159497 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli @@ -124,7 +124,7 @@ Usage: cardano-cli alonzo transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --script-valid Assertion that the script is valid. (default) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli index 6c75fc62f4..0a89d96096 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli @@ -22,7 +22,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli index a57524b5ab..d6d4f2497f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli @@ -124,7 +124,7 @@ Usage: cardano-cli babbage transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --script-valid Assertion that the script is valid. (default) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli index 27dfbf3302..2b0eed32bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli @@ -22,7 +22,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli index 8a34ba8d4c..7ad7b613cf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli @@ -157,7 +157,7 @@ Usage: cardano-cli conway transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --script-valid Assertion that the script is valid. (default) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli index 0a806a33ad..31333a481b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli @@ -22,7 +22,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli index fe457219d3..b0efaa0e03 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli @@ -124,7 +124,7 @@ Usage: cardano-cli latest transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --script-valid Assertion that the script is valid. (default) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli index f85ee539f1..8d14017f5d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli @@ -21,7 +21,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli index 32a68972b5..0fb55ed306 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli @@ -131,7 +131,7 @@ Usage: cardano-cli legacy transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --byron-era Specify the Byron era diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli index 3a5a5b6704..636ab23334 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli @@ -22,7 +22,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli index 35cb34e552..e3868b89ec 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli @@ -124,7 +124,7 @@ Usage: cardano-cli mary transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --script-valid Assertion that the script is valid. (default) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli index 403262f8fb..7d1e28c388 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli @@ -21,7 +21,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli index c8fa466a11..f23963e94f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli @@ -124,7 +124,7 @@ Usage: cardano-cli shelley transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --script-valid Assertion that the script is valid. (default) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli index 96e8c293a1..eac68c8535 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli @@ -21,7 +21,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli index 75e445574f..93acee9795 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli @@ -129,7 +129,7 @@ Usage: cardano-cli transaction build-raw Build a transaction (low-level, inconvenient) - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: --byron-era Specify the Byron era