diff --git a/src/Keybert/Program.php b/src/Keybert/Program.php index 2953507..5af5f49 100644 --- a/src/Keybert/Program.php +++ b/src/Keybert/Program.php @@ -35,25 +35,4 @@ $keybert = new Keybert($preload, null, $port); $keybert->run(); } - - /** - * Displays the help message - * - * @return void - */ - public static function help(): void - { - print('Keybert v' . Runtime::getConstant('net.nosial.federationlib', 'version') . PHP_EOL . PHP_EOL); - - print('Usage: Keybert [options]' . PHP_EOL); - print('Options:' . PHP_EOL); - print(' --port|-p - The port to listen on' . PHP_EOL); - print(' --preload|-l - Optional. Models to preload, seperated by commas' . PHP_EOL); - print(PHP_EOL); - print('Environment Variables:' . PHP_EOL); - print(' KEYBERT_PORT - The port to listen on' . PHP_EOL); - print(' KEYBERT_PRELOAD - Optional. Models to preload, seperated by commas' . PHP_EOL); - - exit(0); - } } \ No newline at end of file