Next: Option Arguments, Previous: Generated main, Up: Option Definitions [Contents][Index]
For each option you wish to specify, you must have a block macro named
flag
defined. There are two required attributes: name
and
descrip
. If any options do not have a value
(traditional flag
character) attribute, then the long-opts
program attribute must also
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 options. In this
case, the - and -- command line option markers are optional.
• Required Attributes: | Required Attributes | |
• Common Attributes: | Common Option Attributes | |
• Immediate Action: | Immediate Action Attributes | |
• Option Conflict Attributes: | Option Conflict Attributes | |
These option attributes do not fit well with the above categories. | ||
---|---|---|
• opt-attr settable: | Program may set option | |
• opt-attr no-preset: | Option cannot be pre-configured | |
• opt-attr equivalence: | Option Equivalence Class | |
• opt-attr aliases: | Option Aliasing | |
• opt-attr default option: | Default Option | |
• opt-attr documentation: | Option Sectioning Comment | |
• opt-attr translators: | Translator Notes |