public static function setRequiredValue( Option &$option, $arg )
    {
        if ( self::isShortCode( $arg ) || self::isLongCode( $arg ) )
        {
            throw new CommandException( 'Missing argument for option --' . $option->longCode );
        }
        else
        {
            if ( is_string( $arg ) )
            {
                $arg = trim( $arg );
            }
            
            $option->value = $arg;
        }
    }