help2man
Produce simple man pages from an executable's --help and --version output. tldr-pages
On several platforms
Several platforms
Generate a man page for an executable
help2man executableIdentifySpecify the "name" paragraph in the man page
help2man executable --name nameIdentifySpecify the section for the man page (defaults to 1)
help2man executable --section sectionIdentifyOutput to a file instead of stdout
help2man executable --output path/to/fileIdentifyDisplay help
help2man --helpIdentify