Removed unused help menu in Program

This commit is contained in:
Netkas 2023-07-23 16:02:00 -04:00
parent 402c3b5cb6
commit f681267999
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -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);
}
}