[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] Adding examples to the man pages
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Patch] Adding examples to the man pages |
Date: |
Sun, 20 Mar 2005 01:27:34 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi Paul,
So adding the following to basename.c gets me a passable entry in
the manpage:
fputs (_("\
Examples:\n\
basename /usr/foo/lossage/functions.l returns functions.l\n\
basename /usr/foo/lossage/functions.l .l returns functions\n\
basename functions.lisp p returns functions.lis\n\
\n\
"), stdout);
(These examples were actually in a comment at the top of basename.c)
But help2man hasn;t done any bold/italicising of the parameters;
I guess that is OK, but it is not particularly nice and doesn't
follow the recommendations for man pages. Is there something
I'm missing to get help2man to do a nicer job?
Dave
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
- Re: [Patch] Adding examples to the man pages, (continued)
- Re: [Patch] Adding examples to the man pages, Alfred M. Szmidt, 2005/03/14
- Re: [Patch] Adding examples to the man pages, James Youngman, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Jim Meyering, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Bob Proulx, 2005/03/15
- Re: [Patch] Adding examples to the man pages, Dave Gilbert (Home), 2005/03/16
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/17
- Re: [Patch] Adding examples to the man pages, Dr. David Alan Gilbert, 2005/03/19
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/18
- Re: [Patch] Adding examples to the man pages, James Youngman, 2005/03/19
- Re: [Patch] Adding examples to the man pages,
Dr. David Alan Gilbert <=
- Re: [Patch] Adding examples to the man pages, Paul Eggert, 2005/03/20
- Re: [Patch] Adding examples to the man pages, Dr. David Alan Gilbert, 2005/03/28
- Re: [Patch] Adding examples to the man pages, Jim Meyering, 2005/03/28