scripts: csv.py: Fixed missing -F/--hidden-field parsing

For some reason -F/--hidden-field fields weren't being parsed as a
CsvExpr, breaking any attempt to use exprs with hidden fields. Probably
just broken during a refactor.

Fortunately an easy fix.
This commit is contained in:
Christopher Haster
2026-01-21 15:17:55 -06:00
parent cfafd07414
commit 45f1850028
+1 -1
View File
@@ -2623,7 +2623,7 @@ if __name__ == "__main__":
type=lambda x: (
lambda k, v=None: (
k.strip(),
v.strip() if v is not None else None)
CsvExpr(v) if v is not None else None)
)(*x.split('=', 1)),
help="Like -f/--field, but hidden from the table renderer, "
"and doesn't affect -f/--field defaults.")