docs: update add docs

This commit is contained in:
Simon Michael 2010-11-16 15:34:05 +00:00
parent c1dd9106db
commit 96b26af12c

View File

@ -389,22 +389,29 @@ The following commands can alter your journal file.
##### add ##### add
The add command prompts interactively for new transactions, and adds them The add command prompts interactively for new transactions, and appends
to the journal, with assistance: them to the journal file. Each transaction is appended when you complete
it by entering `.` (period) at the account prompt. Enter control-D or
control-C when you are done.
- During data entry, the usual console editing keys should work add tries to be helpful, providing:
- If there are earlier transactions approximately matching the description - Readline-style input: during data entry, the usual console editing keys
you enter, the best match will provide defaults for the other fields. should work.
- If you specify [account pattern(s)](#filter-patterns) on the command - (Selective) history awareness: if there are earlier transactions
line, only matching transactions will be considered for defaults. approximately matching the description you enter, the best match will
provide defaults for the other fields. If you specify
[filter pattern(s)](#filter-patterns) on the command line, only matching
transactions will be considered for defaults.
- While entering account names, the tab key will auto-complete as far as - Auto-completion: while entering account names, the tab key will
possible, and if pressed a second time will show a list of options. auto-complete as far as possible. If pressed a second time it will show
a list of options.
- If a [default commodity](#default-commodity) is defined, it will be used - Default commodity: if the journal specifies a
for any commodity-less amounts entered. [default commodity directive](#default-commodity), that will be applied
to any bare numbers entered.
Examples: Examples: