From b9b73507416b022ebdab4ace88f887677171bf7a Mon Sep 17 00:00:00 2001 From: nbelakovski Date: Wed, 15 Mar 2017 16:50:15 -0700 Subject: [PATCH 1/2] Updated help text with current state of checkType --- bin/options.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/options.json b/bin/options.json index e686aa0..442c2b6 100644 --- a/bin/options.json +++ b/bin/options.json @@ -17,7 +17,7 @@ "type": "boolean" }, "--checkType": { - "desc": "This parameter turns on and off whether check field type. default is true.", + "desc": "This parameter turns on and off whether check field type. default is false.", "type": "boolean" }, From e4b65054867d171030ca7ad105a5e0d057c82e63 Mon Sep 17 00:00:00 2001 From: nbelakovski Date: Wed, 15 Mar 2017 16:51:00 -0700 Subject: [PATCH 2/2] Updated readme with current state of checkType --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 38504e5..d518601 100644 --- a/readme.md +++ b/readme.md @@ -259,7 +259,7 @@ Following parameters are supported: * **delimiter**: delimiter used for seperating columns. Use "auto" if delimiter is unknown in advance, in this case, delimiter will be auto-detected (by best attempt). Use an array to give a list of potential delimiters e.g. [",","|","$"]. default: "," * **quote**: If a column contains delimiter, it is able to use quote character to surround the column content. e.g. "hello, world" wont be split into two columns while parsing. Set to "off" will ignore all quotes. default: " (double quote) * **trim**: Indicate if parser trim off spaces surrounding column content. e.g. " content " will be trimmed to "content". Default: true -* **checkType**: This parameter turns on and off whether check field type. default is true. +* **checkType**: This parameter turns on and off whether check field type. default is false. * **toArrayString**: Stringify the stream output to JSON array. This is useful when pipe output to a file which expects stringified JSON array. default is false and only stringified JSON (without []) will be pushed to downstream. * **ignoreEmpty**: Ignore the empty value in CSV columns. If a column value is not giving, set this to true to skip them. Defalut: false. * **workerNum**: Number of worker processes. The worker process will use multi-cores to help process CSV data. Set to number of Core to improve the performance of processing large csv file. Keep 1 for small csv files. Default 1.