summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-06 00:06:40 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-06 00:06:40 -0400
commitc0205f02048594c4ad8b36f690aa9b0eb2f90753 (patch)
tree9769d39a26b10c27abf7045e12c04353e5117412 /main.cc
parent6048ae7c05622a83355ad0a87ab1ce512f00b3f3 (diff)
downloadfork-ledger-c0205f02048594c4ad8b36f690aa9b0eb2f90753.tar.gz
fork-ledger-c0205f02048594c4ad8b36f690aa9b0eb2f90753.tar.bz2
fork-ledger-c0205f02048594c4ad8b36f690aa9b0eb2f90753.zip
-s bal is functional again
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)) {