diff --git a/cmd/oj/main.go b/cmd/oj/main.go index 75d10b6..9ee5115 100644 --- a/cmd/oj/main.go +++ b/cmd/oj/main.go @@ -339,6 +339,9 @@ func digParse(r io.Reader) error { if color { annotateColor = ojg.Gray } + // Pick a function that satisfies omit, annotate, and senOut + // values. Determining the function before the actual calling means few + // conditional paths during the repeated calls later. if omit { if annotate { if senOut {