commit 8ff870a352e907a86f0819e217ef3dd5804c8923
parent d6f0b8f8fe8eabf5f0ec16caf547113b9911d8a5
Author: Joris Vink <joris@coders.se>
Date: Fri, 1 Aug 2014 09:39:09 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/kore.c b/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();