Next: Option Definitions, Previous: Caveats, Up: AutoOpts [Contents][Index]
Since it is generally easier to start with a simple example than it is
to look at the options that AutoGen uses itself, here is a very simple
AutoOpts example. You can copy this example out of the Info file and
into a source file to try it. You can then embellish it into what you
really need. For more extensive examples, you can also examine the help
output and option definitions for the commands columns
,
getdefs
and autogen
itself.
If you are looking for a more extensive example,
you may search the autogen sources for files named *opts.def.
xml2ag
is ridiculous and autogen
is very lengthy,
but columns
and getdefs
are not too difficult.
The sharutils
sources are fairly reasonable, too.
• quick ao problem: | Example option requirements | |
• quick ao def: | Example option definitions | |
• quick ao build: | Build the example options | |
• quick ao help: | Example option help text | |
• quick ao usage: | Using the example options | |
• quick ao docs: | Example option documentation |