1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

core: add option "-P" (or "--plugins") to customize the plugins to load at startup

If given, the option replaces the option weechat.plugin.autoload.
This commit is contained in:
Sébastien Helleu
2018-08-17 19:44:41 +02:00
parent 822270ccca
commit 466dbbe75b
43 changed files with 166 additions and 56 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ main (int argc, char *argv[])
"Auto-loading plugins from path in "
"environment variable WEECHAT_EXTRA_LIBDIR (\"%s\")",
getenv ("WEECHAT_EXTRA_LIBDIR"));
plugin_auto_load (0, NULL, 0, 1, 0);
plugin_auto_load (NULL, 0, 1, 0, 0, NULL);
}
/* display WeeChat version and directories */