From f17a93ec272b7c3d45aa23c51497207f98460a77 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 15 Apr 2013 17:29:32 -0700 Subject: [PATCH] docs: update query docs to match hledger-web search help --- MANUAL.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/MANUAL.md b/MANUAL.md index 214e6763e..a59715393 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -872,14 +872,16 @@ the following: - `REGEX` - match account names by this regular expression - `acct:REGEX` - same as above -- `amt:N` - match postings with a single-commodity amount less than, greater than or equal to N. (Multi-commodity amounts are always matched.) - `code:REGEX` - match by transaction code (eg check number) - `desc:REGEX` - match transaction descriptions by regular expression - `date:PERIODEXPR` - match dates within the specified [period](#period-expressions) -- `edate:PERIODEXPR` - as above, but match secondary dates -- `status:1` or `status:0` - match cleared/uncleared transactions +- `date2:PERIODEXPR` - as above, but match secondary dates - `tag:NAME[=REGEX]` - match by (exact, case sensitive) [tag](#tags) name, and optionally match the tag value by regular expression - `depth:N` - match (or display, depending on command) accounts at or above this [depth](#depth-limiting) +- `status:1` or `status:0` - match cleared/uncleared transactions +- `real:1` or `real:0` - match real/virtual-ness +- `empty:1` or `empty:0` - match if amount is/is not zero +- `amt:N` - match postings with a single-commodity amount less than, greater than or equal to N. (Multi-commodity amounts are always matched.) - `not:` before any of the above negates the match