Zend_Console_Getopt supports a compact syntax similar
to that used by GNU Getopt (see http://www.gnu.org/software/libc/manual/html_node/Getopt.html.
This syntax supports only single-character flags. In a single
string, you type each of the letters that correspond to flags
supported by your application. A letter followed by a colon
character (:) indicates a flag that requires a
The example above shows using
to declare that options may be given as -a,
-b, or -p. The latter flag
requires a parameter.
The short syntax is limited to flags of a single character. Aliases, parameter types, and help strings are not supported in the short syntax.