Alpha1 of v4!

This commit is contained in:
Mike Farah
2020-11-13 13:35:59 +11:00
parent 708ff02e8d
commit f8a700e400
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func evaluateAll(cmd *cobra.Command, args []string) error {
if forceColor || (!forceNoColor && (fileInfo.Mode()&os.ModeCharDevice) != 0) {
colorsEnabled = true
}
printer := yqlib.NewPrinter(out, outputToJSON, unwrapScalar, colorsEnabled, indent, printDocSeparators)
printer := yqlib.NewPrinter(out, outputToJSON, unwrapScalar, colorsEnabled, indent, !noDocSeparators)
switch len(args) {
case 0: