Skip to content

Commit 4ba2b0e

Browse files
committed
defaulting jsoncols quote option to false like other options
1 parent 7529c2e commit 4ba2b0e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
# datatools
33

4+
## For data
5+
46
Command line utilities for simplifying work with CSV, JSON, Excel Workbooks and plain text files or content and
57
general purpose shell scripting.
68

cmds/jsoncols/jsoncols.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func init() {
123123
flag.BoolVar(&csvOutput, "csv", false, "output as CSV or other flat delimiter row")
124124
flag.StringVar(&delimiter, "d", delimiter, "set the delimiter for multi-field csv output")
125125
flag.StringVar(&delimiter, "dimiter", delimiter, "set the delimiter for multi-field csv output")
126-
flag.BoolVar(&quote, "quote", true, "if dilimiter is found in column value add quotes for non-CSV output")
126+
flag.BoolVar(&quote, "quote", false, "if dilimiter is found in column value add quotes for non-CSV output")
127127
flag.BoolVar(&permissive, "permissive", false, "suppress error messages")
128128
flag.BoolVar(&permissive, "quiet", false, "suppress error messages")
129129
}

0 commit comments

Comments
 (0)