summaryrefslogtreecommitdiff
path: root/doc/ledger3.texi
diff options
context:
space:
mode:
authorPeter Feigl <craven@gmx.net>2014-02-26 09:29:31 +0100
committerPeter Feigl <craven@gmx.net>2014-02-26 09:29:31 +0100
commit75b0a5d8ff22abeac8c4f502154159f998ffbe99 (patch)
tree0e8ec4c444700fd996eefead32455ec7086bff08 /doc/ledger3.texi
parent230fa31ba3087884c0701e9a4fe1c44a184e6f27 (diff)
downloadfork-ledger-75b0a5d8ff22abeac8c4f502154159f998ffbe99.tar.gz
fork-ledger-75b0a5d8ff22abeac8c4f502154159f998ffbe99.tar.bz2
fork-ledger-75b0a5d8ff22abeac8c4f502154159f998ffbe99.zip
Adding option --recursive-aliases, adding documentation to man-page and manual
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r--doc/ledger3.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index 051c7c76..1a8fd9aa 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -2161,8 +2161,9 @@ The aliases are only in effect for transactions read in after the alias
is defined and are affected by @code{account} directives that precede
them.
-Aliases can refer to other aliases, the following example produces exactly
-the same accounts as the preceding one:
+With the option @option{--recursive-aliases}, aliases can refer to other aliases,
+the following example produces exactly the same transactions and account names
+as the preceding one:
@smallexample
alias Entertainment=Expenses:Entertainment
@@ -5814,6 +5815,11 @@ correct, and if it finds a new account or commodity (same as
a misspelled commodity or account) it will issue a warning giving you
the file and line number of the problem.
+@item --recursive-aliases
+Normally, ledger only expands aliases once. With this option, ledger tries
+to expand the result of alias expansion recursively, until no more expansions
+apply.
+
@item --time-colon
The @option{--time-colon} option will display the value for a seconds
based commodity as real hours and minutes.