summaryrefslogtreecommitdiff
path: root/src/print.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-05 02:44:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-05 02:46:22 -0400
commit63c7ba0322fc3d0082580e181cd341f32a23ee9e (patch)
tree3b26f8b0b187045cf89ce25ceed5d48526c312e2 /src/print.cc
parent653d2bd99a04f422c3755f42d6091f2b8817b26f (diff)
downloadfork-ledger-63c7ba0322fc3d0082580e181cd341f32a23ee9e.tar.gz
fork-ledger-63c7ba0322fc3d0082580e181cd341f32a23ee9e.tar.bz2
fork-ledger-63c7ba0322fc3d0082580e181cd341f32a23ee9e.zip
Make --anon work with the print command
Fixes #226 / C1C1E731-D991-40ED-BE43-8ED55585386C
Diffstat (limited to 'src/print.cc')
-rw-r--r--src/print.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.cc b/src/print.cc
index f93f5fe8..703e885c 100644
--- a/src/print.cc
+++ b/src/print.cc
@@ -120,6 +120,7 @@ namespace {
foreach (post_t * post, xact.posts) {
if (post->has_flags(ITEM_TEMP | ITEM_GENERATED) &&
+ ! post->has_flags(POST_ANONYMIZED) &&
! report.HANDLED(print_virtual))
continue;