diff --git a/hledger/Hledger/Cli/BalanceView.hs b/hledger/Hledger/Cli/BalanceView.hs index c5d5254cc..d50ebcd64 100644 --- a/hledger/Hledger/Cli/BalanceView.hs +++ b/hledger/Hledger/Cli/BalanceView.hs @@ -2,9 +2,9 @@ {-| This module is used by the 'balancesheet', 'incomestatement', and -'cashflow' commands to print out acocunt balances based on a specific +'cashflow' commands to print out account balances based on a specific "view", which consists of a title and multiple named queries that are -aggregated and totaled. +aggregated and totalled. -} @@ -26,7 +26,7 @@ import Hledger.Cli.Balance import Hledger.Cli.CliOptions -- | Describes a view for the balance, which can consist of multiple --- separate named queries that are aggregated and totaled. +-- separate named queries that are aggregated and totalled. data BalanceView = BalanceView { bvmode :: String, -- ^ command line mode of the view bvaliases :: [String], -- ^ command line aliases diff --git a/hledger/Hledger/Cli/Balancesheet.hs b/hledger/Hledger/Cli/Balancesheet.hs index 21678b68b..37ce3d92a 100644 --- a/hledger/Hledger/Cli/Balancesheet.hs +++ b/hledger/Hledger/Cli/Balancesheet.hs @@ -26,7 +26,7 @@ balancesheetBV = BalanceView { This command displays a simple balance sheet, showing historical ending balances of asset and liability accounts (ignoring any report begin date). It assumes that these accounts are under a top-level `asset` or `liability` -account (plural forms also allowed). +account (case insensitive, plural forms also allowed). |], bvtitle = "Balance Sheet", bvqueries = [ ("Assets" , journalAssetAccountQuery), diff --git a/hledger/Hledger/Cli/Cashflow.hs b/hledger/Hledger/Cli/Cashflow.hs index 968e4312d..e62c56592 100644 --- a/hledger/Hledger/Cli/Cashflow.hs +++ b/hledger/Hledger/Cli/Cashflow.hs @@ -28,8 +28,8 @@ cashflowBV = BalanceView { bvhelp = [here| This command displays a simple cashflow statement, showing changes in "cash" accounts. It assumes that these accounts are under a top-level -`asset` account and do not contain `receivable` or `A/R` in their name -(plural forms also allowed). +`asset` account (case insensitive, plural forms also allowed) and do not +contain `receivable` or `A/R` in their name. |], bvtitle = "Cashflow Statement", bvqueries = [("Cash flows", journalCashAccountQuery)], diff --git a/hledger/Hledger/Cli/Incomestatement.hs b/hledger/Hledger/Cli/Incomestatement.hs index a5848385f..b3c5e55bf 100644 --- a/hledger/Hledger/Cli/Incomestatement.hs +++ b/hledger/Hledger/Cli/Incomestatement.hs @@ -1,7 +1,7 @@ {-# LANGUAGE QuasiQuotes, TemplateHaskell, OverloadedStrings, NoCPP #-} {-| -The @incomestatement@ command prints a simple income statement (profit & loss) report. +The @incomestatement@ command prints a simple income statement (profit & loss report). -} @@ -25,9 +25,8 @@ incomestatementBV = BalanceView { bvhelp = [here| This command displays a simple income statement, showing revenues and expenses during a period. It assumes that these accounts are under a -top-level `revenue` or `income` or `expense` account (plural forms -also allowed). - +top-level `revenue` or `income` or `expense` account (case insensitive, +plural forms also allowed). |], bvtitle = "Income Statement", bvqueries = [ ("Revenues", journalIncomeAccountQuery),