From 158e0850fda57f9e95c85aea4586a9c6737ea6a5 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 29 Feb 2024 16:56:22 -1000 Subject: [PATCH] ;doc:journal:directives: fix formatting --- hledger/hledger.m4.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 36629f2aa..b00d110de 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -1744,12 +1744,11 @@ Here are all hledger's directives, with their effects and scope summarised - nin | **[`account`]** | Declares an account, for [checking](#check) all entries in all files;
and its [display order](#account-display-order) and [type](#declaring-account-types).
Subdirectives: any text, ignored. | N | | **[`alias`]** | Rewrites account names, in following entries until end of current file or [`end aliases`].
Command line equivalent: [`--alias`] | Y | | **[`comment`]** | Ignores part of the journal file, until end of current file or `end comment`. | Y | -| **[`commodity`]** | Declares up to four things: -
1. a commodity symbol, for checking all amounts in all files
2. the display style for all amounts of this commodity
3. the decimal mark for parsing amounts of this commodity, in the rest of this file and its children, if there is no `decimal-mark` directive
4. the precision to use for balanced-transaction checking in this commodity, in this file and its children.
Takes precedence over `D`.
Subdirectives: `format` (ignored).
Command line equivalent: [`-c/--commodity-style`](#commodity-styles) | N,
N,
Y,
Y | +| **[`commodity`]** | Declares up to four things:
1. a commodity symbol, for checking all amounts in all files
2. the display style for all amounts of this commodity
3. the decimal mark for parsing amounts of this commodity, in the rest of this file and its children, if there is no `decimal-mark` directive
4. the precision to use for balanced-transaction checking in this commodity, in this file and its children.
Takes precedence over `D`.
Subdirectives: `format` (ignored).
Command line equivalent: [`-c/--commodity-style`](#commodity-styles) | N,
N,
Y,
Y | | **[`decimal-mark`]** | Declares the decimal mark, for parsing amounts of all commodities in following entries until next `decimal-mark` or end of current file. Included files can override. Takes precedence over `commodity` and `D`. | Y | | **[`include`]** | Includes entries and directives from another file, as if they were written inline.
Command line alternative: multiple [`-f/--file`](#multiple-files) | N | | **[`payee`]** | Declares a payee name, for checking all entries in all files. | N | -| **[`P`]** | Declares the market price of a commodity on some date, for [value reports](#value-reporting). | N | +| **[`P`]** | Declares the market price of a commodity on some date, for [value reports](#value-reporting). | N | | **[`~`]** (tilde) | Declares a periodic transaction rule that generates future transactions with `--forecast` and budget goals with `balance --budget`. | N | | Other syntax: | | | | **[`apply account`]** | Prepends a common parent account to all account names, in following entries until end of current file or `end apply account`. | Y |