The constructor for the
Zend_Console_Getopt class takes
from one to three arguments. The first argument
declares which options are supported by your application.
This class supports alternative syntax forms for declaring the options.
See the sections below for the format and usage of these syntax forms.
The constructor takes two more arguments, both of which are optional.
The second argument may contain the command-line arguments.
This defaults to
The third argument of the constructor may contain an
configuration options to customize the behavior of
See Adding Configuration
for reference on the options available.