summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index 31bd32e1..23b29cc3 100644
--- a/main.cc
+++ b/main.cc
@@ -765,7 +765,8 @@ int main(int argc, char * argv[])
format_t format(f);
walk_accounts(journal->master, format_account(std::cout, format),
predicate.get(), xact_display_flags, show_subtotals,
- display_predicate.get(), sort_order.get());
+ show_expanded ? 0 : 1, display_predicate.get(),
+ sort_order.get());
if (! display_predicate.get() ||
item_predicate<account_t>(display_predicate.get())(journal->master)) {