diff options
Diffstat (limited to 'src/fe-none/irssi.c')
-rw-r--r-- | src/fe-none/irssi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fe-none/irssi.c b/src/fe-none/irssi.c index ba47aab7..6c601627 100644 --- a/src/fe-none/irssi.c +++ b/src/fe-none/irssi.c @@ -81,10 +81,9 @@ void noui_deinit(void) int main(int argc, char **argv) { - static struct poptOption options[] = { - POPT_AUTOHELP - { "load", 'l', POPT_ARG_STRING, &autoload_module, 0, "Module to load (default = bot)", "MODULE" }, - { NULL, '\0', 0, NULL } + static GOptionEntry options[] = { + { "load", 'l', 0, G_OPTION_ARG_STRING, &autoload_module, "Module to load (default = bot)", "MODULE" }, + { NULL } }; autoload_module = NULL; |