private function collectOptionsFromUserInputClass()
    {
        foreach (RequestBroker::targetMethodsOf($this->userInput) as $targetMethod) {
            $name = $targetMethod->paramName();
            if (substr($name, 0, 5) === 'argv.') {
                continue;
            }

            if (strlen($name) === 1) {
                $this->options .= $name . ($targetMethod->requiresParameter() ? ':' : '');
            } else {
                $this->longopts[] = $name . ($targetMethod->requiresParameter() ? ':' : '');
            }
        }

        if (null === $this->options || !strpos($this->options, 'h')) {
            $this->options .= 'h';
        }

        if (!in_array('help', $this->longopts)) {
            $this->longopts[] = 'help';
        }
    }