Print the CSV header at -n 0, refuse --separator with a record format, refuse a date field in time(), read a bare number template as a format string, and say when no data is loaded

This commit is contained in:
2026-10-08 12:24:47 +02:00
committed by Lillem4n
parent 332b99ad88
commit 357a2a276d
9 changed files with 106 additions and 50 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func childNamed(n node, seg string) (node, error) {
if child, ok := n.children[seg]; ok {
return child, nil
}
return nil, fmt.Errorf("no entry %q", seg)
return nil, noEntry{seg}
case *template:
if child, ok := n.fields[seg]; ok {
return child, nil