Reword the bindOptions, parseInput and datatypeOf comments, the --help paragraph on blank stdin, and the empty-table and no-datatype errors

This commit is contained in:
2026-10-08 12:33:06 +02:00
committed by Lillem4n
parent 5c0ac105b4
commit 48e2b1ce9f
4 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ func typedOrText(text string, ds ...DataType) error {
return fmt.Errorf(`%s in a record column could be text or a value of datatype %s; write %q for text, or {"format":%q,"datatype":%q}`, text, d, text, text, d)
}
}
return fmt.Errorf(`%s in a record column could be text or a typed value, though no datatype holds it; write %q for text`, text, text)
return fmt.Errorf(`%s in a record column fits no datatype; write %q for text`, text, text)
}
// jsonKind names the kind of a JSON value an option cannot take, in the data format's own