Creates a new option.
public __construct ( string $longName, string | null $shortName = null, integer $flags, string $description = null ) | ||
$longName | string | The long option name. |
$shortName | string | null | The short option name. |
$flags | integer | A bitwise combination of the option flag constants. |
$description | string | A human-readable description of the option. |