Add --right-align-numeric for PPRINT and Markdown output (#1503) (#2161)

For PPRINT, right-justifies data cells whose values are numeric,
leaving other cells and header lines left-justified. For Markdown,
emits right-alignment markers (---:) for numeric columns; in
--omd-aligned mode also right-justifies the raw cell text.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
John Kerl 2026-07-06 15:02:18 -04:00 committed by GitHub
parent ac08b072dc
commit fdcca41536
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 227 additions and 9 deletions

View file

@ -801,6 +801,11 @@ This is simply a copy of what you should see on running `man mlr` at a command p
right-align-multi-word
--fw {string} Shortcut for --fixed left-align-multi-word
--right Right-justifies all fields for PPRINT output.
--right-align-numeric Right-justifies fields with numeric values for PPRINT
output, leaving other fields (and header lines)
left-justified. Also applies to markdown output,
where numeric columns get right-alignment markers
(`---:`) in the header-separator line.
1mPROFILING FLAGS0m
These are flags for profiling Miller performance.