diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Hash.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Hash.hs index 530f1a1447..35e1d13824 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Hash.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Hash.hs @@ -41,7 +41,7 @@ pGovernanceHashAnchorDataCmd era = do (Cmd.GovernanceHashAnchorDataCmdArgs eon <$> pGovernanceAnchorDataHashSource <*> optional pOutputFile)) - $ Opt.progDesc "Compute the hash of some anchor data." + $ Opt.progDesc "Compute the hash of some anchor data (to then pass it to other governance commands)." pGovernanceAnchorDataHashSource :: Parser Cmd.GovernanceAnchorDataHashSource pGovernanceAnchorDataHashSource = @@ -73,4 +73,4 @@ pGovernanceHashScriptCmd era = do (Cmd.GovernanceHashScriptCmdArgs eon <$> pScript <*> optional pOutputFile)) - $ Opt.progDesc "Compute the hash of a script." + $ Opt.progDesc "Compute the hash of a script (to then pass it to other governance commands)." diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/DRep.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/DRep.hs index 5a6347a6c5..40947e1b55 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/DRep.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/DRep.hs @@ -8,10 +8,13 @@ module Test.Golden.Governance.DRep where #endif import Control.Monad + +#ifdef UNIX import Data.Bits ((.&.)) import GHC.Stack (withFrozenCallStack) import Numeric (showOct) import System.Posix.Files (fileMode, getFileStatus) +#endif import Test.Cardano.CLI.Util (execCardanoCLI, noteInputFile, noteTempFile, propertyOnce)