fix:demo: drop mention of -- ASCIINEMAOPTS, it no longer works

This commit is contained in:
Simon Michael 2025-06-15 13:17:05 -10:00
parent 3ba3d3d676
commit d504e0a7c0
2 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,8 @@ demomode = hledgerCommandMode
[]
([], Just $ argsFlag optsstr)
optsstr = "[NUM|PREFIX|SUBSTR] [-- ASCIINEMAOPTS]"
optsstr = "[NUM|PREFIX|SUBSTR]"
-- optsstr = "[NUM|PREFIX|SUBSTR] [-- ASCIINEMAOPTS]"
usagestr = "Usage: hledger demo " <> optsstr
-- | The demo command.
@ -118,6 +119,7 @@ demo CliOpts{rawopts_=rawopts, reportspec_=ReportSpec{_rsQuery=_query}} _j = do
putStrLn line
putStrLn ""
threadDelay 1000000
-- XXX this used to see asciinema options after --, currently it doesn't
runAsciinemaPlay speed defidlelimit c as
putStrLn ""
putStrLn line

View File

@ -18,8 +18,10 @@ 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),