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:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user