Neos\Flow\Cli\CommandRequestHandler::exitIfCompiletimeCommandWasNotCalledCorrectly PHP Method

exitIfCompiletimeCommandWasNotCalledCorrectly() public method

This happens if the user doesn't specify the full command identifier.
public exitIfCompiletimeCommandWasNotCalledCorrectly ( string $runlevel ) : void
$runlevel string one of the Bootstrap::RUNLEVEL_* constants
return void
    public function exitIfCompiletimeCommandWasNotCalledCorrectly($runlevel)
    {
        if ($runlevel === Bootstrap::RUNLEVEL_COMPILETIME) {
            return;
        }
        $command = $this->request->getCommand();
        if ($this->bootstrap->isCompiletimeCommand($command->getCommandIdentifier())) {
            $this->response->appendContent(sprintf("<b>Unrecognized Command</b>\n\n" . "Sorry, but he command \"%s\" must be specified by its full command\n" . "identifier because it is a compile time command which cannot be resolved\n" . "from an abbreviated command identifier.\n\n", $command->getCommandIdentifier()));
            $this->response->send();
            $this->shutdown($runlevel);
            exit(1);
        }
    }