summaryrefslogtreecommitdiff
path: root/src/print.h
Commit message (Collapse)AuthorAgeFilesLines
* Inlined the print_xacts constructorJohn Wiegley2010-06-021-1/+4
|
* New: --group-by=EXPR and --group-title-format=FMTJohn Wiegley2010-05-301-0/+10
| | | | | | | | | | | | | | | | | | | | | The --group-by option allows for most reports to be split up into sections based on the varying value of EXPR. For example, to see register subtotals by payee, use: ledger reg --group-by=payee -s This works for separated balances too: ledger bal --group-by=payee Another interesting possibility is seeing a register of all the accounts affected by a related account: ledger reg -r --group-by=payee The option --group-title-format can be used to add a separator bar to the group titles. The option --no-titles can be used to drop titles altogether.
* Rewrite the "print" command as a custom functionJohn Wiegley2010-03-081-0/+79
There ended up being too many corner cases for the generalized formatter to handle.