summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-14 02:15:11 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-14 02:15:11 -0400
commit6555f45c9d85a100614843c89d091240f70b3de6 (patch)
tree91268792fb2b5e358f20ddeb1cb447dabd6b1495 /src/report.h
parentb07451d6500827a52684fda9fa6e729b79a4efc5 (diff)
downloadledger-6555f45c9d85a100614843c89d091240f70b3de6.tar.gz
ledger-6555f45c9d85a100614843c89d091240f70b3de6.tar.bz2
ledger-6555f45c9d85a100614843c89d091240f70b3de6.zip
Moved a block of code from report to session, though it's still commented out.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/report.h b/src/report.h
index ec4b194f..48a31d4e 100644
--- a/src/report.h
+++ b/src/report.h
@@ -231,19 +231,6 @@ public:
"The init file '" << path << "' does not exist or is not readable");
}
- value_t option_file(call_scope_t& args) { // f:
- if (std::string(optarg) == "-") {
- config->data_file = optarg;
- } else {
- std::string path = resolve_path(optarg);
- if (access(path.c_str(), R_OK) != -1)
- config->data_file = path;
- else
- throw_(std::invalid_argument,
- "The ledger file '" << path << "' does not exist or is not readable");
- }
- }
-
value_t option_cache(call_scope_t& args) { // :
config->cache_file = resolve_path(optarg);
}