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

7.5.5.9 Default Option

If your program processes its arguments in named option mode (See long-opts in Program Description Attributes), then you may select one of your options to be the default option. Do so by using attribute default with one of the options. The option so specified must have an arg-type (see section Option Argument Specification) specified, but not the arg-optional (see section Option Argument Optional) attribute. That is to say, the option argument must be required.

If you have done this, then any arguments that do not match an option name and do not contain an equal sign (=) will be interpreted as an option argument to the default option.


This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.