How to create a man page?

Charles Swiger cswiger at
Wed Jun 8 15:24:08 GMT 2005

On Jun 8, 2005, at 9:53 AM, brian.barto at wrote:
> Hi all. I am writing a program with hopes to submit it for  
> inclusion to the
> ports collection. My last step is to include a man page for my  
> program. Man
> pages look to be some sort of markup language. What is the standard  
> way to
> create a man page? Is there some sort of wysiwyg or some other  
> program that
> makes them easy to create?

If your program implements the standard --version and --help long  
options, the misc/help2man port will create an adequate manpage from  
the information your program provides.  Someone who knows NROFF can  
do a better job writing of the manpage by hand, but it's at least a  
starting point.


More information about the freebsd-questions mailing list