Export ErrNoColumns, name the cure for a shell-split template and an unquoted record, and name the flag a missing data path came from

This commit is contained in:
2026-09-18 20:35:56 +02:00
parent 9db8d35a49
commit c8a4ffa764
5 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ func floatArgs(_ map[string]node, a []string) error {
}
func seqArg(_ map[string]node, a []string) error {
if len(a) > 1 {
return fmt.Errorf("seq takes at most one name, got %d args", len(a))
return fmt.Errorf("seq takes at most one name, got %d", len(a))
}
if len(a) == 1 && a[0] == "" {
return fmt.Errorf("seq name must not be empty")