docs: more filter patterns -> queries

This commit is contained in:
Simon Michael 2012-05-27 18:24:20 +00:00
parent 9524e6d927
commit d1aa325fcb

View File

@ -77,9 +77,9 @@ Options are similar across most commands, with some variations; use
`hledger COMMAND --help` for details. Most options must appear somewhere `hledger COMMAND --help` for details. Most options must appear somewhere
after COMMAND, not before it. The `-f` option can appear anywhere. after COMMAND, not before it. The `-f` option can appear anywhere.
Arguments are also command-specific, but usually they are Arguments are also command-specific, but usually they form a
[filter patterns](#filter-patterns) which select a subset of the journal, [query](#queries) which selects a subset of the journal, eg transactions
eg transactions in a certain account. in a certain account.
To create an initial journal, run `hledger add` and follow the prompts to To create an initial journal, run `hledger add` and follow the prompts to
enter some transactions. Or, save this enter some transactions. Or, save this
@ -650,9 +650,9 @@ The add command tries to be helpful, providing:
- History awareness: if there are existing transactions approximately - History awareness: if there are existing transactions approximately
matching the description you enter, they will be displayed and the best matching the description you enter, they will be displayed and the best
match will provide defaults for the other fields. If you specify match will provide defaults for the other fields. If you specify a
[filter pattern(s)](#filter-patterns) on the command line, only matching [query](#queries) on the command line, only matching transactions will
transactions will be considered as history. be considered as history.
- Readline-style input: during data entry, the usual editing keys should - Readline-style input: during data entry, the usual editing keys should
work. work.
@ -723,8 +723,9 @@ Examples:
#### register #### register
The register command displays postings, one per line, and their running total. The register command displays postings, one per line, and their running
With no [filter patterns](#filter-patterns), this is not all that different from [print](#print): total. With no [query terms](#queries), this is not all that different
from [print](#print):
$ hledger register $ hledger register