summaryrefslogtreecommitdiff
path: root/doc/ledger3.texi
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2018-06-09 22:28:09 -0700
committerGitHub <noreply@github.com>2018-06-09 22:28:09 -0700
commitadc221f1fdb247358a91fb991efe2c18307e6a20 (patch)
treeeb5956c3a484600ee2d5b2a87d3dd4590e680a7c /doc/ledger3.texi
parent738b2cee088366dd33ccc5f70a095b0ba139a742 (diff)
parentd4bd42791e1666c4079361f458bfd38dcbbfc9bd (diff)
downloadfork-ledger-adc221f1fdb247358a91fb991efe2c18307e6a20.tar.gz
fork-ledger-adc221f1fdb247358a91fb991efe2c18307e6a20.tar.bz2
fork-ledger-adc221f1fdb247358a91fb991efe2c18307e6a20.zip
Merge pull request #1650 from colindean/patch-1
Documents commodity directive's alias sub-directive
Diffstat (limited to 'doc/ledger3.texi')
-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