Merge pull request #1035 from steven-hilder/fixCsvFlag

Fix --csv flag in osqueryi shell
This commit is contained in:
Teddy Reed 2015-04-23 16:57:14 -07:00
commit 85b6d979d7

View File

@ -2133,7 +2133,7 @@ int launchIntoShell(int argc, char **argv) {
} else if (FLAGS_column) {
data.mode = MODE_Column;
} else if (FLAGS_csv) {
data.mode = FLAGS_csv;
data.mode = MODE_Csv;
memcpy(data.separator, ",", 2);
} else {
data.mode = MODE_Pretty;