diff --git a/hledger/Hledger/Cli/Commands/Add.hs b/hledger/Hledger/Cli/Commands/Add.hs index d87a105c4..beb73eb45 100644 --- a/hledger/Hledger/Cli/Commands/Add.hs +++ b/hledger/Hledger/Cli/Commands/Add.hs @@ -54,7 +54,7 @@ addmode = hledgerCommandMode [flagNone ["no-new-accounts"] (setboolopt "no-new-accounts") "don't allow creating new accounts"] [generalflagsgroup2] [] - ([], Just $ argsFlag "[QUERY]") + ([], Just $ argsFlag "[DATE [DESCRIPTION [ACCOUNT1 [AMOUNT1 [ACCOUNT2 [ETC...]]]]]]") -- | State used while entering transactions. data EntryState = EntryState { diff --git a/hledger/Hledger/Cli/Commands/Add.md b/hledger/Hledger/Cli/Commands/Add.md index c337d746f..8aea5ba81 100644 --- a/hledger/Hledger/Cli/Commands/Add.md +++ b/hledger/Hledger/Cli/Commands/Add.md @@ -1,5 +1,6 @@ add\ Prompt for transactions and add them to the journal. +Any arguments will be used as default inputs for the first N prompts. _FLAGS @@ -61,5 +62,5 @@ Date [2015/05/22]: $ ``` On Microsoft Windows, the add command makes sure that no part of the -file path ends with a period, as it can cause data loss on that platform -(cf [#1056](https://github.com/simonmichael/hledger/issues/1056)). +file path ends with a period, as that would cause problems +([#1056](https://github.com/simonmichael/hledger/issues/1056)).