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:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user