mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Remove popt and use glib GOption commandline option parser
(glib-2.6 is now the minimum required version). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4700 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c403b70de4
commit
ab8da71d29
20 changed files with 44 additions and 1464 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue