mirror of
https://github.com/containers/podman.git
synced 2025-05-22 17:46:52 +08:00

Work around a go-md2man bug, and add a check script to make sure this doesn't hit us again. Background: go-md2man can't deal with a left-hand column > 31 chars. It produces man pages that look like: | Something With >31 Character | | | | ..description | (should be all on one row). It also has trouble when the vertical bars are misaligned: it completely removes the right-hand side. There's almost certainly a better solution: fix go-md2man, or use a different conversion tool, or maybe even pre/postprocess. But this is a quick interim solution. Sorry for the perl. This could be done in bash/sed/awk/grep, but not with any sort of sane error messages. Signed-off-by: Ed Santiago <santiago@redhat.com>