;doc: cli: help: more updates

This commit is contained in:
Simon Michael 2022-08-22 08:21:01 +01:00
parent 423f3bd155
commit 9d2c9bd85f

View File

@ -1,21 +1,18 @@
help\ help\
Show the hledger user manual in one of several formats, Show the hledger user manual with info, man, or a pager if possible.
optionally positioned at a given TOPIC (if possible). With a TOPIC argument, open it at that topic if possible.
TOPIC can be any heading in the manual, or a heading prefix, case insensitive.
TOPIC is any heading in the manual, or a heading prefix, case insensitive. Eg: `commands`, `print`, `forecast`, `journal`, `amount`, `"auto postings"`.
Eg: `commands`, `print`, `forecast`, `"auto postings"`, `journal`, `amount`.
_FLAGS _FLAGS
This command shows the user manual built in to this hledger version. This command shows the hledger manual built in to your hledger version.
It can be useful if the correct version of the hledger manual, It can be useful when offline, or when you prefer the terminal to a web browser,
or the usual viewing tools, are not installed on your system. or when the appropriate hledger manual or viewing tools are not installed on your system.
By default it uses the best viewer it can find in $PATH, in this order: By default it chooses the best viewer found in $PATH,
`info`, `man`, $PAGER (unless a topic is specified), `less`, or stdout. preferring info since the hledger manual is large.
When run non-interactively, it always uses stdout. You can select a particular viewer with the `-i`, `-m`, or `-p` flags.
Or you can select a particular viewer with the
`-i` (info), `-m` (man), or `-p` (pager) flags.
Examples Examples
```shell ```shell