From 4e1c99796569afd794f2072618e5492f89881e98 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 7 Aug 2016 12:17:38 -0700 Subject: [PATCH] ui: accounts: always use --no-elide for a more regular tree --- hledger-ui/Hledger/UI/Main.hs | 4 +++- hledger-ui/doc/hledger-ui.1.m4.md | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/hledger-ui/Hledger/UI/Main.hs b/hledger-ui/Hledger/UI/Main.hs index 92b750dec..895ca5fe8 100644 --- a/hledger-ui/Hledger/UI/Main.hs +++ b/hledger-ui/Hledger/UI/Main.hs @@ -82,7 +82,9 @@ runBrickUi uopts@UIOpts{cliopts_=copts@CliOpts{reportopts_=ropts}} j = do query_=unwords $ -- as in ReportOptions, with same limitations [v | (k,v) <- rawopts_ copts, k=="args", not $ "depth" `isPrefixOf` v], -- show items with zero amount by default, unlike the CLI - empty_=True + empty_=True, + -- always disable boring account name eliding, unlike the CLI, for a more regular tree + no_elide_=True } } } diff --git a/hledger-ui/doc/hledger-ui.1.m4.md b/hledger-ui/doc/hledger-ui.1.m4.md index a6802bceb..c450ea712 100644 --- a/hledger-ui/doc/hledger-ui.1.m4.md +++ b/hledger-ui/doc/hledger-ui.1.m4.md @@ -52,9 +52,6 @@ Any QUERYARGS are interpreted as a hledger search query which filters the data. `--flat` : show full account names, unindented -`--no-elide` -: don't compress empty parent accounts on one line - `--register=ACCTREGEX` : start in the (first) matched account's register screen