mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
Merge pull request #1035 from steven-hilder/fixCsvFlag
Fix --csv flag in osqueryi shell
This commit is contained in:
commit
85b6d979d7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user