summaryrefslogtreecommitdiff
path: root/reports.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2003-10-10 18:53:27 +0000
committerJohn Wiegley <johnw@newartisans.com>2003-10-10 18:53:27 +0000
commit60fa58e847fd8368059e13e6d9b941fc0e75291b (patch)
tree42631fa16ccb3ed77a49497d8a6e43115c58831c /reports.cc
parent2835be562889c4e4dd11205533cca54ae02042e1 (diff)
downloadfork-ledger-60fa58e847fd8368059e13e6d9b941fc0e75291b.tar.gz
fork-ledger-60fa58e847fd8368059e13e6d9b941fc0e75291b.tar.bz2
fork-ledger-60fa58e847fd8368059e13e6d9b941fc0e75291b.zip
*** empty log message ***
Diffstat (limited to 'reports.cc')
-rw-r--r--reports.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/reports.cc b/reports.cc
index b46d360e..175a7d4d 100644
--- a/reports.cc
+++ b/reports.cc
@@ -393,7 +393,7 @@ int main(int argc, char * argv[])
// Parse the command-line options
int c;
- while (-1 != (c = getopt(argc, argv, "+b:e:d:cChRV:wf:i:p:PvsSEnF"))) {
+ while (-1 != (c = getopt(argc, argv, "+b:e:d:cChRV:f:i:p:PvsSEnF"))) {
switch (char(c)) {
case 'b':
case 'e': {
@@ -473,7 +473,6 @@ int main(int argc, char * argv[])
case 'C': show_cleared = true; break;
case 'R': show_virtual = false; break;
- case 'w': use_warnings = true; break;
case 's': show_children = true; break;
case 'S': show_sorted = true; break;
case 'E': show_empty = true; break;
@@ -516,7 +515,8 @@ int main(int argc, char * argv[])
index = optind;
- if (use_warnings && (have_beginning || have_ending)) {
+#if 0
+ if (have_beginning || have_ending) {
std::cout << "Reporting";
if (have_beginning) {
@@ -533,6 +533,7 @@ int main(int argc, char * argv[])
std::cout << std::endl;
}
+#endif
// A ledger data file must be specified