Removed unused help menu in Program
This commit is contained in:
parent
402c3b5cb6
commit
f681267999
1 changed files with 0 additions and 21 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue