From 72a4c82043dc317e6b23266235d4582ee36f9f1c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 21 Sep 2021 15:42:02 -1000 Subject: [PATCH] cli: tweak --pretty help --- hledger-lib/Hledger/Reports/ReportOptions.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Reports/ReportOptions.hs b/hledger-lib/Hledger/Reports/ReportOptions.hs index 7ab2193ef..8f6edb2c7 100644 --- a/hledger-lib/Hledger/Reports/ReportOptions.hs +++ b/hledger-lib/Hledger/Reports/ReportOptions.hs @@ -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