From f68126799991d4239421a3c4d3228e46a9ed3b81 Mon Sep 17 00:00:00 2001 From: Netkas Date: Sun, 23 Jul 2023 16:02:00 -0400 Subject: [PATCH] Removed unused help menu in Program --- src/Keybert/Program.php | 21 --------------------- 1 file changed, 21 deletions(-) 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