summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-04-15 19:45:44 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:08 -0400
commita4d4c1af8b51f1e78e46ac4c84a95dca930e2f2a (patch)
tree979b252e17539c4cd7e362654fa61e4862882f6f
parentc94210f5c5bf6d621a63146bdd3d84f7895e4b93 (diff)
downloadfork-ledger-a4d4c1af8b51f1e78e46ac4c84a95dca930e2f2a.tar.gz
fork-ledger-a4d4c1af8b51f1e78e46ac4c84a95dca930e2f2a.tar.bz2
fork-ledger-a4d4c1af8b51f1e78e46ac4c84a95dca930e2f2a.zip
(process_options): Show all register entries, even those with null
value, if -E is used.
-rw-r--r--config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cc b/config.cc
index 056c3292..d0a92fbb 100644
--- a/config.cc
+++ b/config.cc
@@ -203,7 +203,7 @@ void config_t::process_options(const std::string& command,
else if (command == "E") {
display_predicate = "t";
}
- else if (command == "r") {
+ else if (command == "r" && ! show_empty) {
display_predicate = "a";
}
}