Skip to content

Commit 63e476c

Browse files
committed
made -quote default to true for non CSV output
1 parent 0742c72 commit 63e476c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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", false, "if dilimiter is found in column value add quotes for non-CSV output")
126+
flag.BoolVar(&quote, "quote", true, "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)