[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.3 Option Definitions

AutoOpts uses an AutoGen definitions file for the definitions of the program options and overall configuration attributes. The complete list of program and option attributes is quite extensive, so if you are reading to understand how to use AutoOpts, I recommend reading the "Quick Start" section (see section 7.2 Quick Start) and paying attention to the following:

  1. prog-name, prog-title, and argument, program attributes, See section 7.3.1 Program Description Attributes.
  2. name and descrip option attributes, See section 7.3.4.1 Required Attributes.
  3. value (flag character) and min (occurrence counts) option attributes, See section 7.3.4.2 Common Option Attributes.
  4. arg-type from the option argument specification section, See section 7.3.4.6 Option Argument Specification.
  5. Read the overall how to, See section 7.6 Using AutoOpts.
  6. Highly recommended, but not required, are the several "man" and "info" documentation attributes, See section 7.3.5 Man and Info doc Attributes.

Keep in mind that the majority are rarely used and can be safely ignored. However, when you have special option processing requirements, the flexibility is there.

7.3.1 Program Description Attributes  
7.3.3 Program Information Attributes  
7.3.2 Generated main Procedures  
7.3.4 Option Attributes  
7.3.5 Man and Info doc Attributes  
7.3.6 Automatically Supported Options  
7.3.7 Library of Standard Options  



This document was generated by Bruce Korb on May 5, 2003 using texi2html

Viewable With Any Browser   AutoGen Home