HippoPHP\Hippo\HippoTextUI::showHelp PHP Метод

showHelp() защищенный Метод

Shows the help information.
protected showHelp ( )
    protected function showHelp()
    {
        $this->showVersion();
        echo "Usage: hippo [switches] <directory>\n" . "  -h, --help                Prints this usage information\n" . "  -v, --version             Print version information\n" . "  -l, --log LOGLEVELS       Sets which severity levels should be logged\n" . "                            (default: \"info,warning,error\")\n" . "  -s, --strict 1|0          Enables or disables strict mode (default: 0)\n" . "                            Strict mode will exit with code 1 on any violation.\n" . "  -q, --quiet 1|0           Same as --log \"\"\n" . "      --verbose 1|0         Same as --log \"info,warning,error\"\n" . "  -c, --config PATH         Use specific config (default: \"base\")\n" . "  --report-xml PATH         Output a Checkstyle-compatible XML to PATH\n";
        echo "\n";
        echo "Available configs:\n";
        foreach ($this->_getAllStandardNames() as $standardName) {
            echo "  - {$standardName}\n";
        }
    }