add: fix help - arguments are inputs, not a query
This commit is contained in:
parent
81d3ac7d66
commit
eee9402ba8
@ -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 {
|
||||
|
||||
@ -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]: <CTRL-D> $
|
||||
```
|
||||
|
||||
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)).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user