From 5bdd98d634be7c20df4aefc79414319992a6c810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Fri, 28 Jun 2024 16:26:12 +0200 Subject: [PATCH] Update mentions to the command in help messages --- .../src/Cardano/CLI/EraBased/Options/Common.hs | 12 ++++++------ .../CLI/EraBased/Options/Governance/Committee.hs | 2 +- .../src/Cardano/CLI/EraBased/Options/Query.hs | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index 51152773c1..dc1d28f3a3 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -642,7 +642,7 @@ pAddCommitteeColdVerificationKeySource = , VkhfshScriptHash <$> pScriptHash "add-cc-cold-script-hash" - "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." ] pAddCommitteeColdVerificationKeyHash :: Parser (Hash CommitteeColdKey) @@ -698,7 +698,7 @@ pRemoveCommitteeColdVerificationKeySource = , VkhfshScriptHash <$> pScriptHash "remove-cc-cold-script-hash" - "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." ] pScriptHash @@ -920,7 +920,7 @@ pCommitteeHotVerificationKeyOrHashOrVerificationFileOrScriptHash = , VkhfshScriptHash <$> pScriptHash "cc-hot-script-hash" - "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." ] catCommands :: [Parser a] -> Maybe (Parser a) @@ -3203,13 +3203,13 @@ pDRepScriptHash :: Parser ScriptHash pDRepScriptHash = pScriptHash "drep-script-hash" - "DRep script hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "DRep script hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." pConstitutionScriptHash :: Parser ScriptHash pConstitutionScriptHash = pScriptHash "constitution-script-hash" - "Constitution script hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Constitution script hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." pDRepVerificationKeyOrHashOrFile :: Parser (VerificationKeyOrHashOrFile DRepKey) @@ -3227,7 +3227,7 @@ pDRepVerificationKeyOrHashOrFileOrScriptHash = , VkhfshScriptHash <$> pScriptHash "drep-script-hash" - "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." ] pAllOrOnlyDRepHashSource diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Committee.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Committee.hs index d47bb23e77..56c352f975 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Committee.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Committee.hs @@ -145,7 +145,7 @@ pColdCredential = , VksScriptHash <$> pScriptHash "cold-script-hash" - "Committee cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Committee cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." , VksScript <$> pScriptFor "cold-script-file" Nothing "Cold Native or Plutus script file" ] diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs index 02b2931ef3..ba83d19348 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs @@ -428,7 +428,7 @@ pQueryGetCommitteeStateCmd era envCli = do , VkhfshScriptHash <$> pScriptHash "cold-script-hash" - "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Cold Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." ] pCommitteeHotKeyOrHashOrFileOrScriptHash :: Parser (VerificationKeyOrHashOrFileOrScriptHash CommitteeHotKey) @@ -438,7 +438,7 @@ pQueryGetCommitteeStateCmd era envCli = do , VkhfshScriptHash <$> pScriptHash "hot-script-hash" - "Hot Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli conway governance hash script ...\"." + "Hot Native or Plutus script file hash (hex-encoded). Obtain it with \"cardano-cli hash script ...\"." ] pMemberStatus :: Parser MemberStatus