The output file named used to be provided as an option named "output-file",
but now it is a separate argument to the "create" function. This had
been overlooked for the CSV driver, so that it always produced output in
a file named "pspp.csv", but this commit fixes the problem.
output_driver_init (&csv->driver, &csv_driver_class, file_name, device_type);
csv->separator = parse_string (opt (d, o, "separator", ","));
- csv->file_name = parse_string (opt (d, o, "output-file", "pspp.csv"));
+ csv->file_name = xstrdup (file_name);
csv->file = fn_open (csv->file_name, "w");
csv->n_items = 0;