The argument handling was quite garbled up. So I fixed it. In the process, it drops a lot of locs. Previously, it would lead to an off-by-one in an edge case, so stop messing around with argv and use an idiomatic fp- and fname- array. Now this works fine and is much easier to read. This is also the first step towards going back to strcmp() instead of handrolling the "-"-checks.
2.4 KiB
2.4 KiB