vincentdephily / emlop

EMerge LOg Parser
GNU General Public License v3.0
36 stars 4 forks source link

`--last` should not remove the header #32

Closed vincentdephily closed 1 year ago

vincentdephily commented 1 year ago

Shouldn't be too hard for tables with a single header line, but would be trickier for stats. Multi-header tables can probably be ignored for now, as they don't make use of --last anyway.

vincentdephily commented 1 year ago

Fixed for log. Stats don't support --last and I doubt it makes sense for them. predict is arguably affected, but it's Pid lines that get removed (not headers), which seems like the proper behavior.