mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -04:00
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:
parent
d6f0b8f8fe
commit
8ff870a352
11
src/kore.c
11
src/kore.c
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user