[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AutoOpts includes AutoGen templates for producing abbreviated man pages and for producing the invoking section of an info document. To take advantage of these templates, you must add several attributes to your option definitions.
flag
definition other than "documentation"
definitions, must have a doc
attribute defined. If the option takes
an argument, then it will need an arg-name
attribute as well. The
doc
text should be in plain sentences with minimal formatting. The
Texinfo commands @code
, and @var
will have its enclosed text
made into \fB entries in the man page, and the @file
text
will be made into \fI entries. The arg-name
attribute is
used to display the option's argument in the man page.
Options marked with the "documentation" attribute are for documenting the usage text. All other options should have the "doc" attribute in order to document the usage of the option in the generated man pages.
arg-type
, but
it will likely be clearer with something else like, file-name
instead of string
(the type).
detail
definition, this may be sufficient.
If not, or if you need special formatting for one of the manual formats,
then you will need either a definition for prog-man-descrip
or
prog-info-descrip
or both. These will be inserted verbatim
in the man page document and the info document, respectively.
SEE ALSO
or
USAGE
or other, put that text in a man-doc
definition. This
text will be inserted verbatim in the man page after the OPTIONS
section and before the AUTHOR
section.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |