Skip to content

Commit

Permalink
Fix commands' descriptions referencing old 'governance hash' command
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Jul 4, 2024
1 parent e29e335 commit e020efc
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 14 deletions.
6 changes: 3 additions & 3 deletions cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ pConstitutionHash =
Opt.option readSafeHash $ mconcat
[ Opt.long "constitution-hash"
, Opt.metavar "HASH"
, Opt.help "Hash of the constitution data (obtain it with \"cardano-cli conway governance hash anchor-data ...\")."
, Opt.help "Hash of the constitution data (obtain it with \"cardano-cli hash anchor-data ...\")."
]

pUrl :: String -> String -> Parser L.Url
Expand Down Expand Up @@ -3219,7 +3219,7 @@ pVoteAnchorDataHash =
Opt.option readSafeHash $ mconcat
[ Opt.long "anchor-data-hash"
, Opt.metavar "HASH"
, Opt.help "Hash of the vote anchor data (obtain it with \"cardano-cli conway governance hash anchor-data ...\")."
, Opt.help "Hash of the vote anchor data (obtain it with \"cardano-cli hash anchor-data ...\")."
]

pAlwaysNoConfidence :: Parser ()
Expand Down Expand Up @@ -3332,7 +3332,7 @@ pAnchorDataHash =
Opt.option readSafeHash $ mconcat
[ Opt.long "anchor-data-hash"
, Opt.metavar "HASH"
, Opt.help "Proposal anchor data hash (obtain it with \"cardano-cli conway governance hash anchor-data ...\")"
, Opt.help "Proposal anchor data hash (obtain it with \"cardano-cli hash anchor-data ...\")"
]

pPreviousGovernanceAction :: Parser (Maybe (TxId, Word16))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ Available options:
Action index of the previous governance action.
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli conway governance hash anchor-data ...")
"cardano-cli hash anchor-data ...")
--constitution-url TEXT Constitution URL.
--constitution-hash HASH Hash of the constitution data (obtain it with
"cardano-cli conway governance hash anchor-data
...").
"cardano-cli hash anchor-data ...").
--constitution-script-hash HASH
Constitution script hash (hex-encoded). Obtain it
with "cardano-cli hash script ...".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Available options:
Action index of the previous governance action.
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli conway governance hash anchor-data ...")
"cardano-cli hash anchor-data ...")
--protocol-major-version MAJOR
Specify the major protocol version to fork into. It
must be the next natural number after the current
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Available options:
Target stake address (bech32 format).
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli conway governance hash anchor-data ...")
"cardano-cli hash anchor-data ...")
--out-file FILE Path to action file to be used later on with build or
build-raw
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Available options:
Target stake address (bech32 format).
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli conway governance hash anchor-data ...")
"cardano-cli hash anchor-data ...")
--prev-governance-action-tx-id TXID
Txid of the previous governance action.
--prev-governance-action-index WORD16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Available options:
Target stake address (bech32 format).
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli conway governance hash anchor-data ...")
"cardano-cli hash anchor-data ...")
--prev-governance-action-tx-id TXID
Txid of the previous governance action.
--prev-governance-action-index WORD16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Available options:
Target stake address (bech32 format).
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli conway governance hash anchor-data ...")
"cardano-cli hash anchor-data ...")
--funds-receiving-stake-verification-key STRING
Stake verification key (Bech32 or hex-encoded).
--funds-receiving-stake-verification-key-file FILE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Available options:
Target stake address (bech32 format).
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli conway governance hash anchor-data ...")
"cardano-cli hash anchor-data ...")
--remove-cc-cold-verification-key STRING
Constitutional Committee cold key (hex-encoded).
--remove-cc-cold-verification-key-file FILE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ Available options:
Obtain it with "cardano-cli hash script ...".
--anchor-url TEXT Vote anchor URL
--anchor-data-hash HASH Hash of the vote anchor data (obtain it with
"cardano-cli conway governance hash anchor-data
...").
"cardano-cli hash anchor-data ...").
--out-file FILE Output filepath of the vote.
-h,--help Show this help text

0 comments on commit e020efc

Please sign in to comment.