summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEnrico Lamperti <910672+elamperti@users.noreply.github.com>2019-11-15 03:06:55 -0300
committerMartin Michlmayr <tbm@cyrius.com>2019-11-16 10:31:31 +0200
commit96eb5fe19fcbe46ca5fb9cf06c9460e226b5dcd7 (patch)
tree4658fab28baa6ca23d976c61f31fb7e907082ebd /doc
parent2ca3d6992ffb4a3546a0451808bd9bd2969c82ff (diff)
downloadfork-ledger-96eb5fe19fcbe46ca5fb9cf06c9460e226b5dcd7.tar.gz
fork-ledger-96eb5fe19fcbe46ca5fb9cf06c9460e226b5dcd7.tar.bz2
fork-ledger-96eb5fe19fcbe46ca5fb9cf06c9460e226b5dcd7.zip
Add note regarding $account under --strict or --pedantic modes
This change adds a warning in the documentation for users using automated transactions with `--strict` or `--pedantic`, as ledger will throw an error when `$account` is not defined explicitly (see #545).
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger3.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index f5446cf5..6a39c963 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -3889,6 +3889,12 @@ Becomes:
Assets:Cash $-20.00
@end smallexample
+Keep in mind that if you are using @option{--strict} or @option{--pedantic} you will have to explicitly define an account @samp{$account} to avoid errors.
+
+@smallexample @c input:validate
+account $account
+@end smallexample
+
@node Applying metadata to every matched posting, Applying metadata to the generated posting, Referring to the matching posting's account, Automated Transactions
@subsection Applying metadata to every matched posting