Conversation
man file mostly created from wgetpaste -h with help2man
|
Can we create this completely automatically with help2man? If so, I'd rather invoke help2man during the build to keep the file up to date. If not, I think writing the man page with scdoc would be nicer to keep the file maintainable. |
How about updating the help and using help2man? Btw., I didn't find the tex info file mentioned at the end of the help. If the description "manual page for wgetpaste, version 2.30" cannot be replaced by content in the --help, I suggest using e.g. an automatic sed script to replace it. The differences between automatic help2man and the edited man page are: Edited:
Automatic:
At the end I removed:
|
|
The man page of stenc uses the github CI facility and is based on pandoc. It works fine. You can copy and paste the workflow, if you want https://github.com/scsitape/stenc/tree/master/man |
|
So your edits could be done with something like: where |
man file mostly created from wgetpaste -h with help2man