cli: tweak --pretty help

This commit is contained in:
Simon Michael 2021-09-21 15:42:02 -10:00
parent 1b020e004b
commit 72a4c82043

View File

@ -310,7 +310,7 @@ alwaysneveropt opt rawopts = case maybestringopt opt rawopts of
Just "never" -> Just False
Just "no" -> Just False
Just "n" -> Just False
Just _ -> usageError "argument to --pretty should be \"yes\" or \"no\""
Just _ -> usageError "--pretty's argument should be \"yes\" or \"no\" (or y, n, always, never)"
_ -> Nothing
balanceAccumulationOverride :: RawOpts -> Maybe BalanceAccumulation