summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.cc b/main.cc
index a0bd29c1..956a7972 100644
--- a/main.cc
+++ b/main.cc
@@ -118,6 +118,10 @@ int parse_and_report(int argc, char * argv[], char * envp[])
command = "P";
else if (command == "pricesdb")
command = "D";
+ else if (command == "csv") {
+ config.register_format = config.csv_register_format;
+ command = "r";
+ }
else
throw error(std::string("Unrecognized command '") + command + "'");