Skip to content

Add sources for man pages in a convenient format #46

@MestreLion

Description

@MestreLion

As command-line options for the tools grow and change, specially in restore-mtime, the man pages inevitably get outdated. Also, man pages (could) contain information and knowledge that do not really belong in a tool's --help but should be more visible than a source code comment, TODO or FIXME. For example, info about #38 could be added in a "Known Bugs" or "Limitations" section.

But editing man pages by hand is very difficult for those unfamiliar with nroff syntax (or is it groff? roff maybe?), myself included. It would be great if the project had such man pages in a format that's more easily editable, then converted to nroff using a tool in a build script.

Ideally such tool would also invoke the tool's --help to keep the man pages updated with current options. Preferably not enforcing a direct copy-and-paste but allowing a more detailed, expanded description on each option, while deleting obsolete and warning on any missing ones.

For those familiar with such workflow (@kilobyte , @dwfreed ?), what are the current/suggested standards? Markdown, AsciiDoc, something else? Any suggestions on how I should implement this in this project? @gebailey , as the author of current man pages, how did you create them? By hand? Did you use any tools to generate them from a template/--help or to automate the process in any way?

I'm completely unfamiliar with this whole thing, so any directions are much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions