Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix commands' descriptions referencing old 'governance hash' command #821

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading