summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-28 17:37:16 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-28 17:37:16 +0100
commit5ac73e1a1f97d92f5ab873f40255ba126a2361e8 (patch)
tree9e74206052e57c0dd64a06893dd20d6f1b3ec7c5 /src/global.cc
parent2cec78718219516b5798b3f39790f9220578a64f (diff)
downloadfork-ledger-5ac73e1a1f97d92f5ab873f40255ba126a2361e8.tar.gz
fork-ledger-5ac73e1a1f97d92f5ab873f40255ba126a2361e8.tar.bz2
fork-ledger-5ac73e1a1f97d92f5ab873f40255ba126a2361e8.zip
The print command now implies --actual
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/global.cc b/src/global.cc
index 40057d48..24716fae 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -461,6 +461,9 @@ void global_scope_t::normalize_report_options(const string& verb)
}
}
+ if (verb == "print")
+ rep.HANDLER(limit_).on(string("?normalize"), "actual");
+
if (! rep.HANDLED(empty))
rep.HANDLER(display_).on(string("?normalize"), "amount|(!post&total)");