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

7.4.2 Option Attributes

For each option you wish to specify, you must have a block macro named flag defined. It MUST contain at least two defined text values named name and descrip. If any options do not have a value macro, then the long-opts global text macro must be defined. As a special exception, if no options have a value and long-opts is not defined and argument is not defined, then all arguments to the program are named. In this case, the - and -- command line option markers are optional.

There are four categories of option attributes. The fifth section below describes what data are available for writing option processing code.

7.4.2.1 Required Attributes  
7.4.2.2 Common Option Attributes  
7.4.2.3 Special Option Handling  
7.4.2.4 Immediate Action Attributes  
7.4.2.5 Option Conflict Attributes  
7.4.2.6 Option Argument Specification  
7.4.2.7 Option Argument Handling  



This document was generated by Bruce Korb on January, 7 2002 using texi2html