src/ShellCommand.php
private function updateOptionValue(ShellOption $shellOption, $value = null, $remove = false)
    {
        if ($remove) {
            $shellOption->removeValue($value);
        } else {
            $shellOption->addValue($value);
        }
    }
private function updateOptionValue(ShellOption $shellOption, $value = null, $remove = false)
    {
        if ($remove) {
            $shellOption->removeValue($value);
        } else {
            $shellOption->addValue($value);
        }
    }
private function updateOptionValue ( ShellOption $ shellOption , $ value = null , $ remove = false ) { if ( $ remove ) { $ shellOption -> removeValue ( $ value ) ; } else { $ shellOption -> addValue ( $ value ) ; } }
Update the value for an option.

@param ShellOption $shellOption
@param mixed|null  $value
@param bool|false  $remove
Update the value for an option .