Remove the ability to pass libs on the cli again.

Sorry, this no longer makes sense in terms of what
orbit is suppose to be doing.
This commit is contained in:
Joris Vink 2014-08-01 09:39:09 +02:00
parent d6f0b8f8fe
commit 8ff870a352

View File

@ -49,7 +49,7 @@ static void kore_server_sslstart(void);
static void
usage(void)
{
fprintf(stderr, "Usage: kore [-c config] [-dfnv] [lib [onload]]\n");
fprintf(stderr, "Usage: kore [-c config] [-dfnv]\n");
exit(1);
}
@ -116,15 +116,6 @@ main(int argc, char *argv[])
kore_validator_init();
kore_server_sslstart();
if (foreground && (argc == 1 || argc == 2)) {
if (argc == 1)
kore_module_load(argv[0], NULL);
else
kore_module_load(argv[0], argv[1]);
} else if (argc > 0) {
fatal("library can only be given when running with -f");
}
if (config_file == NULL)
usage();