summaryrefslogtreecommitdiff
path: root/src/draft.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-09 03:51:53 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-09 03:51:53 -0600
commit59f5ebe2dfe7cc93e36377f0251691e4de7b83b4 (patch)
tree479d00fc71f4c7c12cc6f37c01ab579e2119effb /src/draft.cc
parentef478079e7836a9817992a8f8982b40ce97eef55 (diff)
downloadfork-ledger-59f5ebe2dfe7cc93e36377f0251691e4de7b83b4.tar.gz
fork-ledger-59f5ebe2dfe7cc93e36377f0251691e4de7b83b4.tar.bz2
fork-ledger-59f5ebe2dfe7cc93e36377f0251691e4de7b83b4.zip
Reworked the way that options are handled
Diffstat (limited to 'src/draft.cc')
-rw-r--r--src/draft.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draft.cc b/src/draft.cc
index 9abc769e..74a6f4d2 100644
--- a/src/draft.cc
+++ b/src/draft.cc
@@ -522,7 +522,7 @@ value_t xact_command(call_scope_t& args)
xact_t * new_xact = draft.insert(*report.session.journal.get());
// Only consider actual postings for the "xact" command
- report.HANDLER(limit_).on(string("#xact"), "actual");
+ report.HANDLER(limit_).on("#xact", "actual");
if (new_xact)
report.xact_report(post_handler_ptr(new print_xacts(report)), *new_xact);