From b64f42c2d811f1af5b8d7aab3c287e79222b72d7 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 17 Oct 2015 11:22:39 -0700 Subject: [PATCH] bal, ui: option help tweaks --- hledger-ui/Hledger/UI/AccountsScreen.hs | 2 +- hledger/Hledger/Cli/Balance.hs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hledger-ui/Hledger/UI/AccountsScreen.hs b/hledger-ui/Hledger/UI/AccountsScreen.hs index d06b1f337..8b2a332a5 100644 --- a/hledger-ui/Hledger/UI/AccountsScreen.hs +++ b/hledger-ui/Hledger/UI/AccountsScreen.hs @@ -120,7 +120,7 @@ drawAccountsScreen _st@AppState{aopts=uopts, ajournal=j, aScreen=AccountsScreen{ bottomlabel = borderKeysStr [ -- ("up/down/pgup/pgdown/home/end", "move") - ("-+=1234567890", "adjust/clear depth limit") + ("-+=1234567890", "adjust depth limit") ,("f", "flat/tree mode") ,("right/enter", "show transactions") ,("g", "reload") diff --git a/hledger/Hledger/Cli/Balance.hs b/hledger/Hledger/Cli/Balance.hs index 1fb9ddf9b..7261deb6d 100644 --- a/hledger/Hledger/Cli/Balance.hs +++ b/hledger/Hledger/Cli/Balance.hs @@ -265,14 +265,14 @@ balancemode = (defCommandMode $ ["balance"] ++ aliases) { -- also accept but don flagNone ["tree"] (\opts -> setboolopt "tree" opts) "show accounts as a tree (default in simple reports)" ,flagNone ["flat"] (\opts -> setboolopt "flat" opts) "show accounts as a list (default in multicolumn mode)" ,flagReq ["drop"] (\s opts -> Right $ setopt "drop" s opts) "N" "flat mode: omit N leading account name parts" - ,flagReq ["format"] (\s opts -> Right $ setopt "format" s opts) "FORMATSTR" "tree mode: use this custom line format" + ,flagReq ["format"] (\s opts -> Right $ setopt "format" s opts) "FORMATSTR" "singlecolumn mode: use this custom line format" ,flagNone ["no-elide"] (\opts -> setboolopt "no-elide" opts) "tree mode: don't squash boring parent accounts" ,flagNone ["historical","H"] (\opts -> setboolopt "historical" opts) "multicolumn mode: show historical ending balances" ,flagNone ["cumulative"] (\opts -> setboolopt "cumulative" opts) "multicolumn mode: show accumulated ending balances" ,flagNone ["average","A"] (\opts -> setboolopt "average" opts) "multicolumn mode: show a row average column" ,flagNone ["row-total","T"] (\opts -> setboolopt "row-total" opts) "multicolumn mode: show a row total column" ,flagNone ["no-total","N"] (\opts -> setboolopt "no-total" opts) "don't show the final total row" - ,flagNone ["value","V"] (setboolopt "value") "show amounts as their market value in their default valuation commodity" + ,flagNone ["value","V"] (setboolopt "value") "show amounts as their current market value in their default valuation commodity" ] ++ outputflags ,groupHidden = []