Solar_Getopt::setOption()

public void Solar_Getopt::setOption ( string $name , array $info )

Sets one option for recognition.

Parameters

  • (string) $name: The option name to set or add; overrides $info['short'] if 1 character long, otherwise overrides $info['long'].

  • (array) $info: Option information using the same keys as Solar_Getopt::$_default.

Returns

  • (void)

Description

Sets one option for recognition.



Local