summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorColin Dean <colindean@users.noreply.github.com>2018-06-10 00:18:34 -0400
committerGitHub <noreply@github.com>2018-06-10 00:18:34 -0400
commitd4bd42791e1666c4079361f458bfd38dcbbfc9bd (patch)
treeeb5956c3a484600ee2d5b2a87d3dd4590e680a7c /doc
parent738b2cee088366dd33ccc5f70a095b0ba139a742 (diff)
downloadfork-ledger-d4bd42791e1666c4079361f458bfd38dcbbfc9bd.tar.gz
fork-ledger-d4bd42791e1666c4079361f458bfd38dcbbfc9bd.tar.bz2
fork-ledger-d4bd42791e1666c4079361f458bfd38dcbbfc9bd.zip
Documents commodity directive's alias sub-directive
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger3.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index f3c2045c..0248844c 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -2437,6 +2437,7 @@ commodity $
note American Dollars
format $1,000.00
nomarket
+ alias USD
default
@end smallexample
@@ -2451,6 +2452,9 @@ provide the ``canonical'' representation.
The @code{nomarket} sub-directive states that the commodity's price
should never be auto-downloaded.
+The @code{alias} sub-directive states that any commodity matching this
+symbol is to use the commodity declared in this block.
+
The @code{default} sub-directive marks this as the ``default'' commodity.
@item define