diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs index 14d80c0d1f..be9983d439 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Query.hs @@ -334,7 +334,7 @@ pQueryDRepStateCmd era envCli = do <$> pSocketPath envCli <*> pConsensusModeParams <*> pNetworkId envCli - <*> some pDRepVerificationKeyOrHashOrFile + <*> many pDRepVerificationKeyOrHashOrFile <*> optional pOutputFile pQueryDRepStakeDistributionCmd :: () @@ -353,7 +353,7 @@ pQueryDRepStakeDistributionCmd era envCli = do <$> pSocketPath envCli <*> pConsensusModeParams <*> pNetworkId envCli - <*> some pDRepVerificationKeyOrHashOrFile + <*> many pDRepVerificationKeyOrHashOrFile <*> optional pOutputFile pQueryGetCommitteeStateCmd :: () 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 d2016845ba..783d79f710 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -6880,10 +6880,10 @@ Usage: cardano-cli conway query drep-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) - ( --drep-verification-key STRING + [ --drep-verification-key STRING | --drep-verification-key-file FILE | --drep-key-hash HASH - ) + ] [--out-file FILE] Get the DRep state. If no DRep credentials are provided, return states for all @@ -6900,10 +6900,10 @@ Usage: cardano-cli conway query drep-stake-distribution ( --mainnet | --testnet-magic NATURAL ) - ( --drep-verification-key STRING + [ --drep-verification-key STRING | --drep-verification-key-file FILE | --drep-key-hash HASH - ) + ] [--out-file FILE] Get the DRep stake distribution. If no DRep credentials are provided, return diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli index dee1e6f94e..aa29b17719 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli @@ -9,10 +9,10 @@ Usage: cardano-cli conway query drep-stake-distribution ( --mainnet | --testnet-magic NATURAL ) - ( --drep-verification-key STRING + [ --drep-verification-key STRING | --drep-verification-key-file FILE | --drep-key-hash HASH - ) + ] [--out-file FILE] Get the DRep stake distribution. If no DRep credentials are provided, return diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli index 5cebd6336d..388becf9c3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli @@ -8,10 +8,10 @@ Usage: cardano-cli conway query drep-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) - ( --drep-verification-key STRING + [ --drep-verification-key STRING | --drep-verification-key-file FILE | --drep-key-hash HASH - ) + ] [--out-file FILE] Get the DRep state. If no DRep credentials are provided, return states for all