summaryrefslogtreecommitdiff
path: root/reports.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-04-04 11:26:32 +0000
committerJohn Wiegley <johnw@newartisans.com>2004-04-04 11:26:32 +0000
commitf672024e06b7b03c2a9287bf75faf375955fa791 (patch)
treee06db661c2aff27be8a18490b4b076297143e196 /reports.cc
parent6f3d5be6130f9e9058a3a30470eeb0ed6c17df66 (diff)
downloadfork-ledger-f672024e06b7b03c2a9287bf75faf375955fa791.tar.gz
fork-ledger-f672024e06b7b03c2a9287bf75faf375955fa791.tar.bz2
fork-ledger-f672024e06b7b03c2a9287bf75faf375955fa791.zip
*** empty log message ***
Diffstat (limited to 'reports.cc')
-rw-r--r--reports.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/reports.cc b/reports.cc
index 24160396..d9efac2b 100644
--- a/reports.cc
+++ b/reports.cc
@@ -460,7 +460,7 @@ void add_new_entry(int index, int argc, char **argv)
}
if (index == argc) {
- std::cerr << "Error: Too few arguments to 'add'." << std::endl;
+ std::cerr << "Error: Too few arguments to 'entry'." << std::endl;
std::exit(1);
}
@@ -733,6 +733,8 @@ int main(int argc, char * argv[])
delete main_ledger;
#endif
+
+ return 0;
}
// reports.cc ends here.