From 7e422cb12a7cdc97c511b01edf1524fbeb0ce031 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 16 Mar 2023 21:53:35 -1000 Subject: [PATCH] ;doc: update CLI help text files --- hledger/Hledger/Cli/Commands/Demo.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hledger/Hledger/Cli/Commands/Demo.txt b/hledger/Hledger/Cli/Commands/Demo.txt index 2fe4f85e5..5769ed9ff 100644 --- a/hledger/Hledger/Cli/Commands/Demo.txt +++ b/hledger/Hledger/Cli/Commands/Demo.txt @@ -4,9 +4,14 @@ Play small demos of hledger usage in the terminal. _FLAGS -This command plays a number of short built-in demos, using asciinema. +Run this command with no argument to list the demos. To play a demo, +write its number or name or a substring. asciinema must be installed. -Usage: hledger demo [NUM|NAME|SUBSTR] [-- ASCIINEMAOPTS] +During playback, several keys are available: - SPACE pause/unpause - . +step forward (while paused) - CTRL-c quit early + +asciinema options can be added following a double-dash; list them with +asciinema -h. -s (speed) and -i (max idle time) are particularly useful. Examples: @@ -14,4 +19,3 @@ $ hledger demo # list available demos $ hledger demo 1 # play the first demo $ hledger demo install -s5 -i.5 # play the demo named or containing "install", # at 5x speed, limiting idle time to 0.5s. -$ asciinema -h # list other ASCIINEMAOPTS