summaryrefslogtreecommitdiff
path: root/ledger.texi
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-10-14 19:05:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:19 -0400
commita53f44ecdaf9051c9e7f64993787c88d98b5348a (patch)
tree5d3876db32ae57002ec870583c5acb623e4c34c4 /ledger.texi
parent50c689e1ae75a304ef7431fa489360076e837120 (diff)
downloadfork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.tar.gz
fork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.tar.bz2
fork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.zip
Support has been added for clearing of individual transactions. Set
`ledger-clear-whole-entries' in Emacs to revert to the old behavior.
Diffstat (limited to 'ledger.texi')
-rw-r--r--ledger.texi15
1 files changed, 13 insertions, 2 deletions
diff --git a/ledger.texi b/ledger.texi
index b7aa084a..bf756c1a 100644
--- a/ledger.texi
+++ b/ledger.texi
@@ -1267,13 +1267,13 @@ options:
@item --equity-format
@command{equity} report. Default:
@smallexample
-\n%D %X%C%P\n %-34A %12o%n\n%/ %-34A %12o%n\n
+\n%D %Y%C%P\n %-34W %12o%n\n%/ %-34W %12o%n\n
@end smallexample
@item --prices-format
@command{prices} report. Default:
@smallexample
-\n%D %X%C%P\n%/ %-34A %12t\n
+\n%D %Y%C%P\n%/ %-34W %12t\n
@end smallexample
@item --wide-register-format
@@ -1987,6 +1987,10 @@ output.
If a transaction has been cleared, this inserts @samp{*} followed by a
space; otherwise nothing is inserted.
+@item Y
+This is the same as @samp{%X}, except that it only displays a state
+character if all of the member transactions have the same state.
+
@item C
Inserts the checking number for an entry, in parentheses, followed by
a space; if none was specified, nothing is inserted.
@@ -2002,6 +2006,13 @@ has not been printed yet, otherwise it just prints the account's name.
@item A
Inserts the full name of an account.
+@item W
+This is the same as @samp{%A}, except that it first displays the
+transaction's state @emph{if the entry's transaction states are not
+all the same}, followed by the full account name. This is offered as
+a printing optimization, so that combined with @samp{%Y}, only the
+minimum amount of state detail is printed.
+
@item o
Inserts the ``optimized'' form of a transaction's amount. This is
used by the print report. In some cases, this inserts nothing; in