summaryrefslogtreecommitdiff
path: root/reports.cc
diff options
context:
space:
mode:
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.