;doc: manuals: update command options

This commit is contained in:
Simon Michael 2025-02-27 14:56:26 -10:00
parent b629c31f9a
commit 956a2f6565
7 changed files with 21 additions and 16 deletions

View File

@ -16,8 +16,8 @@ Flags:
postings before report start date) (default) postings before report start date) (default)
--invert display all amounts with reversed sign --invert display all amounts with reversed sign
--heading=YN show heading row above table: yes (default) or no --heading=YN show heading row above table: yes (default) or no
-w --width=N set output width (default: terminal width or -w --width=N set output width (default: terminal width). -wN,M
$COLUMNS). -wN,M sets description width as well. sets description width as well.
--align-all guarantee alignment across all lines (slower) --align-all guarantee alignment across all lines (slower)
-O --output-format=FMT select the output format. Supported formats: -O --output-format=FMT select the output format. Supported formats:
txt, html, csv, tsv, json. txt, html, csv, tsv, json.

View File

@ -15,8 +15,8 @@ Flags:
postings before report start date) (default) postings before report start date) (default)
--invert display all amounts with reversed sign --invert display all amounts with reversed sign
--heading=YN show heading row above table: yes (default) or no --heading=YN show heading row above table: yes (default) or no
-w --width=N set output width (default: terminal width or -w --width=N set output width (default: terminal width). -wN,M
$COLUMNS). -wN,M sets description width as well. sets description width as well.
--align-all guarantee alignment across all lines (slower) --align-all guarantee alignment across all lines (slower)
-O --output-format=FMT select the output format. Supported formats: -O --output-format=FMT select the output format. Supported formats:
txt, html, csv, tsv, json. txt, html, csv, tsv, json.

View File

@ -54,10 +54,10 @@ Flags:
--transpose switch rows and columns (use vertical time axis) --transpose switch rows and columns (use vertical time axis)
--layout=ARG how to lay out multi-commodity amounts and the --layout=ARG how to lay out multi-commodity amounts and the
overall table: overall table:
'wide[,WIDTH]': commodities on one line 'wide[,W]': commodities on same line, up to W wide
'tall' : commodities on separate lines 'tall' : commodities on separate lines
'bare' : commodity symbols in one column 'bare' : commodity symbols in a separate column
'tidy' : every attribute in its own column 'tidy' : each data field in its own column
--base-url=URLPREFIX in html output, generate links to hledger-web, --base-url=URLPREFIX in html output, generate links to hledger-web,
with this prefix. (Usually the base url shown by with this prefix. (Usually the base url shown by
hledger-web; can also be relative.) hledger-web; can also be relative.)

View File

@ -54,10 +54,10 @@ Flags:
--transpose switch rows and columns (use vertical time axis) --transpose switch rows and columns (use vertical time axis)
--layout=ARG how to lay out multi-commodity amounts and the --layout=ARG how to lay out multi-commodity amounts and the
overall table: overall table:
'wide[,WIDTH]': commodities on one line 'wide[,W]': commodities on same line, up to W wide
'tall' : commodities on separate lines 'tall' : commodities on separate lines
'bare' : commodity symbols in one column 'bare' : commodity symbols in a separate column
'tidy' : every attribute in its own column 'tidy' : each data field in its own column
--base-url=URLPREFIX in html output, generate links to hledger-web, --base-url=URLPREFIX in html output, generate links to hledger-web,
with this prefix. (Usually the base url shown by with this prefix. (Usually the base url shown by
hledger-web; can also be relative.) hledger-web; can also be relative.)

View File

@ -16,6 +16,7 @@ Flags:
(can unbalance transactions) (can unbalance transactions)
all - also round cost amounts to precision all - also round cost amounts to precision
(can unbalance transactions) (can unbalance transactions)
--invert display all amounts with reversed sign
--new show only newer-dated transactions added in each --new show only newer-dated transactions added in each
file since last run file since last run
-m --match=DESC fuzzy search for one recent transaction with -m --match=DESC fuzzy search for one recent transaction with
@ -118,6 +119,10 @@ print, other features
With -B/--cost, amounts with costs are shown converted to cost. With -B/--cost, amounts with costs are shown converted to cost.
With --invert, posting amounts are shown with their sign flipped. It
could be useful if you have accidentally recorded some transactions with
the wrong signs.
With --new, print shows only transactions it has not seen on a previous With --new, print shows only transactions it has not seen on a previous
run. This uses the same deduplication system as the import command. (See run. This uses the same deduplication system as the import command. (See
import's docs for details.) import's docs for details.)

View File

@ -19,8 +19,8 @@ Flags:
--sort=FIELDS sort by: date, desc, account, amount, absamount, --sort=FIELDS sort by: date, desc, account, amount, absamount,
or a comma-separated combination of these. For a or a comma-separated combination of these. For a
descending sort, prefix with -. (Default: date) descending sort, prefix with -. (Default: date)
-w --width=N set output width (default: terminal width or -w --width=N set output width (default: terminal width). -wN,M
$COLUMNS). -wN,M sets description width as well. sets description width as well.
--align-all guarantee alignment across all lines (slower) --align-all guarantee alignment across all lines (slower)
--base-url=URLPREFIX in html output, generate links to hledger-web, --base-url=URLPREFIX in html output, generate links to hledger-web,
with this prefix. (Usually the base url shown by with this prefix. (Usually the base url shown by

View File

@ -18,8 +18,8 @@ Flags:
--sort=FIELDS sort by: date, desc, account, amount, absamount, --sort=FIELDS sort by: date, desc, account, amount, absamount,
or a comma-separated combination of these. For a or a comma-separated combination of these. For a
descending sort, prefix with -. (Default: date) descending sort, prefix with -. (Default: date)
-w --width=N set output width (default: terminal width or -w --width=N set output width (default: terminal width). -wN,M
$COLUMNS). -wN,M sets description width as well. sets description width as well.
--align-all guarantee alignment across all lines (slower) --align-all guarantee alignment across all lines (slower)
--base-url=URLPREFIX in html output, generate links to hledger-web, --base-url=URLPREFIX in html output, generate links to hledger-web,
with this prefix. (Usually the base url shown by with this prefix. (Usually the base url shown by