ui: accounts: always use --no-elide for a more regular tree

This commit is contained in:
Simon Michael 2016-08-07 12:17:38 -07:00
parent 38ad1e9309
commit 4e1c997965
2 changed files with 3 additions and 4 deletions

View File

@ -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
}
}
}

View File

@ -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