Package: help2man Version: 1.48.5 Followup-For: Bug #972741 The version-string handling is still too restrictive.
It's strange to assume that if there is no --version argument then then the help output can't be used at all. Plenty of programs are in that situation. help2man's output is still fine. Let help2man do what it can do, it won't cause the entire system to crash just because there's no --version argument. The specific example I'm looking at right now is qdarkstyle.example from python3-qdarkstyle. It's a sample gui program, we're lucky it provides any help at all. But "qdarkstyle.example --help" does generate meaningful output, and help2man could generate a man page that's useful if it were allowed to. The output needs some further editing but presents optional arguments clearly enough. Plenty good enough for closing lintian no-manual-page warnings.