;doc: update command help

This commit is contained in:
Simon Michael 2023-06-01 16:34:57 -10:00
parent 286ee105da
commit 2a3941682b
2 changed files with 16 additions and 12 deletions

View File

@ -49,6 +49,8 @@ In all modes, the defaults can be overridden:
--close-acct=ACCT and --open-acct=ACCT
- the accounts to be closed/opened can be changed with ACCTQUERY
(account query arguments).
- the closing/opening dates can be changed with -e DATE (a report end
date)
By default just one destination/source posting will be used, with its
amount left implicit. With --x/--explicit, the amount will be shown
@ -65,10 +67,10 @@ destination postings next to each other. This could be useful for
troubleshooting.
The default closing date is yesterday, or the journal's end date,
whichever is later. You can change this by specifying a report end date;
(The report start date does not matter.) The last day of the report
period will be the closing date; eg -e 2022 means "close on 2022-12-31".
The opening date is always the day after the closing date.
whichever is later. You can change this by specifying a report end date
with -e. The last day of the report period will be the closing date, eg
-e 2024 means "close on 2023-12-31". The opening date is always the day
after the closing date.
close and balance assertions

View File

@ -9,16 +9,18 @@ write its number or a prefix or substring of its title. Tips:
Make your terminal window large enough to see the demo clearly.
Use the -s/--speed SPEED option to set your preferred playback speed, eg
-s4 to play at 4x original speed or -s.5 to play at half speed. The
default speed is 2x.
Other asciinema options can be added following a double dash, eg -- -i.1
to limit pauses or -- -h to list asciinema's other options.
During playback, several keys are available: SPACE to pause/unpause, .
to step forward (while paused), CTRL-c quit.
asciinema options can be added following a double dash, such as -s N to
adjust speed and -i SECS to limit pauses. Run asciinema -h to list these
options.
Examples:
$ hledger demo # list available demos
$ hledger demo 1 # play the first demo
$ hledger demo install -- -s5 -i.5 # play the install demo at 5x speed,
# with pauses limited to half a second
$ hledger demo # list available demos
$ hledger demo 1 # play the first demo at default speed (2x)
$ hledger demo install -s4 # play the "install" demo at 4x speed