João M. Bezerra c477e9b052 Fix --format parsing extensions with dots
Also improve error reporting for `--format` with malformed or
unsupported extensions

This commit is very messy, as it also does an refac in the project,
which should ideally be in a separated commit
2024-09-06 22:13:38 -03:00
..
2023-11-25 21:33:22 -03:00