From 9b6652b93f6418710b8742229d81959474262378 Mon Sep 17 00:00:00 2001 From: Gaith Hallak Date: Wed, 18 Dec 2019 23:24:10 +0300 Subject: [PATCH] Update the instructions for the add command --- hledger/Hledger/Cli/Commands/Add.hs | 2 +- hledger/Hledger/Cli/Commands/Add.md | 4 ++-- hledger/Hledger/Cli/Commands/Add.txt | 6 +++--- hledger/hledger.1 | 6 +++--- hledger/hledger.info | 6 +++--- hledger/hledger.txt | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/hledger/Hledger/Cli/Commands/Add.hs b/hledger/Hledger/Cli/Commands/Add.hs index 872819a96..5394b510a 100644 --- a/hledger/Hledger/Cli/Commands/Add.hs +++ b/hledger/Hledger/Cli/Commands/Add.hs @@ -105,7 +105,7 @@ showHelp = hPutStr stderr $ unlines [ ,"Use tab key to complete, readline keys to edit, enter to accept defaults." ,"An optional (CODE) may follow transaction dates." ,"An optional ; COMMENT may follow descriptions or amounts." - ,"If you make a mistake, enter < at any prompt to restart the transaction." + ,"If you make a mistake, enter < at any prompt to go one step backward." ,"To end a transaction, enter . when prompted." ,"To quit, enter . at a date prompt or press control-d or control-c." ] diff --git a/hledger/Hledger/Cli/Commands/Add.md b/hledger/Hledger/Cli/Commands/Add.md index afa54c97f..e49a2dd3b 100644 --- a/hledger/Hledger/Cli/Commands/Add.md +++ b/hledger/Hledger/Cli/Commands/Add.md @@ -28,7 +28,7 @@ Features: it will be added to any bare numbers entered. - A parenthesised transaction [code](#entries) may be entered following a date. - [Comments](#comments) and tags may be entered following a description or amount. -- If you make a mistake, enter `<` at any prompt to restart the transaction. +- If you make a mistake, enter `<` at any prompt to go one step backward. - Input prompts are displayed in a different colour when the terminal supports it. Example (see the [tutorial](step-by-step.html#record-a-transaction-with-hledger-add) for a detailed explanation): @@ -40,7 +40,7 @@ Any command line arguments will be used as defaults. Use tab key to complete, readline keys to edit, enter to accept defaults. An optional (CODE) may follow transaction dates. An optional ; COMMENT may follow descriptions or amounts. -If you make a mistake, enter < at any prompt to restart the transaction. +If you make a mistake, enter < at any prompt to go one step backward. To end a transaction, enter . when prompted. To quit, enter . at a date prompt or press control-d or control-c. Date [2015/05/22]: diff --git a/hledger/Hledger/Cli/Commands/Add.txt b/hledger/Hledger/Cli/Commands/Add.txt index bf6f1eb70..468e79a29 100644 --- a/hledger/Hledger/Cli/Commands/Add.txt +++ b/hledger/Hledger/Cli/Commands/Add.txt @@ -29,8 +29,8 @@ Features: bare numbers entered. - A parenthesised transaction code may be entered following a date. - Comments and tags may be entered following a description or amount. -- If you make a mistake, enter < at any prompt to restart the - transaction. +- If you make a mistake, enter < at any prompt to go one step + backward. - Input prompts are displayed in a different colour when the terminal supports it. @@ -42,7 +42,7 @@ Any command line arguments will be used as defaults. Use tab key to complete, readline keys to edit, enter to accept defaults. An optional (CODE) may follow transaction dates. An optional ; COMMENT may follow descriptions or amounts. -If you make a mistake, enter < at any prompt to restart the transaction. +If you make a mistake, enter < at any prompt to go one step backward. To end a transaction, enter . when prompted. To quit, enter . at a date prompt or press control-d or control-c. Date [2015/05/22]: diff --git a/hledger/hledger.1 b/hledger/hledger.1 index d85257ce5..a90b58eb1 100644 --- a/hledger/hledger.1 +++ b/hledger/hledger.1 @@ -1843,8 +1843,8 @@ A parenthesised transaction code may be entered following a date. .IP \[bu] 2 Comments and tags may be entered following a description or amount. .IP \[bu] 2 -If you make a mistake, enter \f[C]<\f[R] at any prompt to restart the -transaction. +If you make a mistake, enter \f[C]<\f[R] at any prompt to go one step +backward. .IP \[bu] 2 Input prompts are displayed in a different colour when the terminal supports it. @@ -1859,7 +1859,7 @@ Any command line arguments will be used as defaults. Use tab key to complete, readline keys to edit, enter to accept defaults. An optional (CODE) may follow transaction dates. An optional ; COMMENT may follow descriptions or amounts. -If you make a mistake, enter < at any prompt to restart the transaction. +If you make a mistake, enter < at any prompt to go one step backward. To end a transaction, enter . when prompted. To quit, enter . at a date prompt or press control-d or control-c. Date [2015/05/22]: diff --git a/hledger/hledger.info b/hledger/hledger.info index 97b73cdd1..1e54d13c0 100644 --- a/hledger/hledger.info +++ b/hledger/hledger.info @@ -1424,8 +1424,8 @@ or press control-d or control-c to exit. bare numbers entered. * A parenthesised transaction code may be entered following a date. * Comments and tags may be entered following a description or amount. - * If you make a mistake, enter '<' at any prompt to restart the - transaction. + * If you make a mistake, enter '<' at any prompt to go one step + backward. * Input prompts are displayed in a different colour when the terminal supports it. @@ -1437,7 +1437,7 @@ Any command line arguments will be used as defaults. Use tab key to complete, readline keys to edit, enter to accept defaults. An optional (CODE) may follow transaction dates. An optional ; COMMENT may follow descriptions or amounts. -If you make a mistake, enter < at any prompt to restart the transaction. +If you make a mistake, enter < at any prompt to go one step backward. To end a transaction, enter . when prompted. To quit, enter . at a date prompt or press control-d or control-c. Date [2015/05/22]: diff --git a/hledger/hledger.txt b/hledger/hledger.txt index 8d622bf65..6ff18453d 100644 --- a/hledger/hledger.txt +++ b/hledger/hledger.txt @@ -1253,8 +1253,8 @@ COMMANDS o Comments and tags may be entered following a description or amount. - o If you make a mistake, enter < at any prompt to restart the transac- - tion. + o If you make a mistake, enter < at any prompt to go one step + backward. o Input prompts are displayed in a different colour when the terminal supports it. @@ -1267,7 +1267,7 @@ COMMANDS Use tab key to complete, readline keys to edit, enter to accept defaults. An optional (CODE) may follow transaction dates. An optional ; COMMENT may follow descriptions or amounts. - If you make a mistake, enter < at any prompt to restart the transaction. + If you make a mistake, enter < at any prompt to go one step backward. To end a transaction, enter . when prompted. To quit, enter . at a date prompt or press control-d or control-c. Date [2015/05/22]: