;doc: add version annotations for features in 1.32
- match groups and match negations - beancount output format - tsv output format - consistently add annotation - `--round` for print
This commit is contained in:
parent
6461839e33
commit
6afff58fb8
@ -62,7 +62,7 @@ at the cost of more time and memory, use the `--align-all` flag.
|
||||
This command also supports the
|
||||
[output destination](hledger.html#output-destination) and
|
||||
[output format](hledger.html#output-format) options.
|
||||
The output formats supported are `txt`, `csv`, `tsv`, and `json`.
|
||||
The output formats supported are `txt`, `csv`, `tsv` (*Added in 1.32*), and `json`.
|
||||
|
||||
### aregister and posting dates
|
||||
|
||||
|
||||
@ -74,7 +74,7 @@ Many of these work with the higher-level commands as well.
|
||||
This command supports the
|
||||
[output destination](#output-destination) and
|
||||
[output format](#output-format) options,
|
||||
with output formats `txt`, `csv`, `tsv`, `json`, and (multi-period reports only:) `html`.
|
||||
with output formats `txt`, `csv`, `tsv` (*Added in 1.32*), `json`, and (multi-period reports only:) `html`.
|
||||
In `txt` output in a colour-supporting terminal, negative amounts are shown in red.
|
||||
|
||||
The `--related`/`-r` flag shows the balance of the *other* postings in the
|
||||
|
||||
@ -48,4 +48,4 @@ This command also supports the
|
||||
[output destination](hledger.html#output-destination) and
|
||||
[output format](hledger.html#output-format) options
|
||||
The output formats supported are
|
||||
`txt`, `csv`, `tsv`, `html`, and `json`.
|
||||
`txt`, `csv`, `tsv` (*Added in 1.32*), `html`, and `json`.
|
||||
|
||||
@ -48,4 +48,4 @@ This command also supports the
|
||||
[output destination](hledger.html#output-destination) and
|
||||
[output format](hledger.html#output-format) options
|
||||
The output formats supported are
|
||||
`txt`, `csv`, `tsv`, `html`, and `json`.
|
||||
`txt`, `csv`, `tsv` (*Added in 1.32*), `html`, and `json`.
|
||||
|
||||
@ -49,4 +49,4 @@ This command also supports the
|
||||
[output destination](hledger.html#output-destination) and
|
||||
[output format](hledger.html#output-format) options
|
||||
The output formats supported are
|
||||
`txt`, `csv`, `tsv`, `html`, and `json`.
|
||||
`txt`, `csv`, `tsv` (*Added in 1.32*), `html`, and `json`.
|
||||
|
||||
@ -58,7 +58,7 @@ Amounts will be (mostly) normalised to their [commodity display style](#commodit
|
||||
their symbol placement, decimal mark, and digit group marks will be made consistent.
|
||||
By default, decimal digits are shown as they are written in the journal.
|
||||
|
||||
With the `--round` option, `print` will try increasingly hard to
|
||||
With the `--round` (*Added in 1.32*) option, `print` will try increasingly hard to
|
||||
display decimal digits according to the [commodity display styles](#commodity-display-style):
|
||||
|
||||
- `--round=none` show amounts with original precisions (default)
|
||||
@ -115,7 +115,7 @@ This command also supports the
|
||||
[output destination](hledger.html#output-destination) and
|
||||
[output format](hledger.html#output-format) options
|
||||
The output formats supported are
|
||||
`txt`, `beancount`, `csv`, `tsv`, `json` and `sql`.
|
||||
`txt`, `beancount` (*Added in 1.32*), `csv`, `tsv` (*Added in 1.32*), `json` and `sql`.
|
||||
|
||||
The `beancount` format tries to produce Beancount-compatible output, as follows:
|
||||
|
||||
|
||||
@ -142,4 +142,4 @@ This command also supports the
|
||||
[output destination](hledger.html#output-destination) and
|
||||
[output format](hledger.html#output-format) options
|
||||
The output formats supported are
|
||||
`txt`, `csv`, `tsv`, and `json`.
|
||||
`txt`, `csv`, `tsv` (*Added in 1.32*), and `json`.
|
||||
|
||||
@ -3338,13 +3338,15 @@ When an if block has multiple matchers, they are combined as follows:
|
||||
|
||||
- By default they are OR'd (any one of them can match)
|
||||
- When a matcher is preceded by ampersand (`&`) it will be AND'ed with the previous matcher (both of them must match)
|
||||
- When a matcher is preceded by an exclamation mark (`!`), the matcher is negated (it may not match).
|
||||
- *Added in 1.32* When a matcher is preceded by an exclamation mark (`!`), the matcher is negated (it may not match).
|
||||
|
||||
[Currently](https://github.com/simonmichael/hledger/pull/2088#issuecomment-1844200398) there is a limitation:
|
||||
you can't use both `&` and `!` on the same line (you can't AND a negated matcher).
|
||||
|
||||
### Match groups
|
||||
|
||||
*Added in 1.32*
|
||||
|
||||
Matchers can define match groups: parenthesised portions of the regular expression
|
||||
which are available for reference in field assignments. Groups are enclosed
|
||||
in regular parentheses (`(` and `)`) and can be nested. Each group is available
|
||||
@ -4240,7 +4242,7 @@ After the date line are zero or more time postings, consisting of:
|
||||
These are the dots in "timedot".
|
||||
Spaces are ignored and can be used for grouping/alignment.
|
||||
|
||||
- one or more letters. These are like dots but they also generate
|
||||
- *Added in 1.32* one or more letters. These are like dots but they also generate
|
||||
a tag `t:` (short for "type") with the letter as its value,
|
||||
and a separate posting for each of the values.
|
||||
This provides a second dimension of categorisation,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user