addColorOption()
addColorOption(array $args, string $colorOption) : array
Returns an array of parameters, including a color option if required
A color option is needed because child process output is piped.
Parameters
array | $args | The script parameters |
string | $colorOption | The long option to force color output |