summaryrefslogtreecommitdiff
path: root/src/query.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-24 00:30:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-24 00:30:18 -0400
commit129b2de901ccfaa01f7c4a520c91787d83291ec3 (patch)
tree5a6cc53a14b5f7384c4cc54839542fe9f0b645b9 /src/query.h
parenteda6cbd0146d371653feec70e0eb3ee4e4c56379 (diff)
downloadfork-ledger-129b2de901ccfaa01f7c4a520c91787d83291ec3.tar.gz
fork-ledger-129b2de901ccfaa01f7c4a520c91787d83291ec3.tar.bz2
fork-ledger-129b2de901ccfaa01f7c4a520c91787d83291ec3.zip
"only" now a report query modifier for --only
This fits with "show" and "bold", etc.
Diffstat (limited to 'src/query.h')
-rw-r--r--src/query.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/query.h b/src/query.h
index 5a4651a0..b5b3b0fc 100644
--- a/src/query.h
+++ b/src/query.h
@@ -90,6 +90,7 @@ public:
TOK_EXPR,
TOK_SHOW,
+ TOK_ONLY,
TOK_BOLD,
TOK_FOR,
TOK_SINCE,
@@ -144,6 +145,7 @@ public:
case TOK_META: return "TOK_META";
case TOK_EXPR: return "TOK_EXPR";
case TOK_SHOW: return "TOK_SHOW";
+ case TOK_ONLY: return "TOK_ONLY";
case TOK_BOLD: return "TOK_BOLD";
case TOK_FOR: return "TOK_FOR";
case TOK_SINCE: return "TOK_SINCE";
@@ -170,6 +172,7 @@ public:
case TOK_META: return "meta";
case TOK_EXPR: return "expr";
case TOK_SHOW: return "show";
+ case TOK_ONLY: return "only";
case TOK_BOLD: return "bold";
case TOK_FOR: return "for";
case TOK_SINCE: return "since";
@@ -234,6 +237,7 @@ public:
enum kind_t {
QUERY_LIMIT,
QUERY_SHOW,
+ QUERY_ONLY,
QUERY_BOLD,
QUERY_FOR
};