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:
parent
822270ccca
commit
466dbbe75b
@ -20,6 +20,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
|
||||
New features::
|
||||
|
||||
* core: add option "-P" (or "--plugins") to customize the plugins to load at startup
|
||||
* core: allow partial buffer name in command /buffer close (issue #1226)
|
||||
* api: add function hook_line
|
||||
* trigger: allow creation of temporary variables with the regex
|
||||
|
@ -26,6 +26,11 @@
|
||||
*-p*, *--no-plugin*::
|
||||
Vypne automatické nahrání pluginů.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
*-r*, *--run-command* _<command>_::
|
||||
Spustí příkaz(y) po startu (více přůkazů může být odděleno středníky).
|
||||
|
||||
|
@ -14,8 +14,9 @@ weechat-headless - the extensible chat client (headless version)
|
||||
|
||||
== PŘEHLED
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -13,8 +13,9 @@ weechat - the extensible chat client
|
||||
|
||||
== PŘEHLED
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
@ -24,6 +24,11 @@
|
||||
*-p*, *--no-plugin*::
|
||||
unterbindet das Laden der Erweiterungen beim Programmstart.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
*-r*, *--run-command* _<command>_::
|
||||
führt einen oder mehrere Befehle aus, nachdem WeeChat gestartet wurde
|
||||
(mehrere Befehle müssen durch Kommata voneinander getrennt werden).
|
||||
|
@ -12,8 +12,9 @@ weechat-headless - der erweiterbare Chat Client (headless version)
|
||||
|
||||
== SYNOPSIS
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -12,8 +12,9 @@ weechat - der erweiterbare Chat Client
|
||||
|
||||
== SYNOPSIS
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
@ -24,6 +24,10 @@
|
||||
*-p*, *--no-plugin*::
|
||||
Disable plugins auto-load.
|
||||
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
*-r*, *--run-command* _<command>_::
|
||||
Run command(s) after startup (many commands can be separated by semicolons).
|
||||
|
||||
|
@ -13,7 +13,7 @@ weechat-headless - the extensible chat client (headless version)
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -13,7 +13,7 @@ weechat - the extensible chat client
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
@ -25,6 +25,10 @@
|
||||
*-p*, *--no-plugin*::
|
||||
Supprimer le chargement automatique des extensions au démarrage.
|
||||
|
||||
*-P*, *--plugins* _<extensions>_::
|
||||
Charger uniquement ces extensions au démarrage (voir /help weechat.plugin.autoload).
|
||||
Si cette option est donnée, l'option weechat.plugin.autoload n'est pas utilisée.
|
||||
|
||||
*-r*, *--run-command* _<commande>_::
|
||||
Lancer la/les commande(s) après le démarrage (plusieurs commandes peuvent
|
||||
être séparées par des points-virgules).
|
||||
|
@ -13,7 +13,7 @@ weechat-headless - le client de discussion extensible (version sans interface)
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <extensions>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -13,7 +13,7 @@ weechat - le client de discussion extensible
|
||||
== SYNOPSIS
|
||||
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <répertoire>] [-p|--no-plugin] [-r|--run-command <commande>] [-s|--no-script] [--upgrade] [extension:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <répertoire>] [-p|--no-plugin] [-P|--plugins <extensions>] [-r|--run-command <commande>] [-s|--no-script] [--upgrade] [extension:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
@ -26,6 +26,11 @@
|
||||
*-p*, *--no-plugin*::
|
||||
Disabilita il caricamento automatico dei plugin.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-r*, *--run-command* _<command>_::
|
||||
Esegue un comando(i) dopo l'avvio (più comandi possono essere separati da
|
||||
|
@ -14,8 +14,9 @@ weechat-headless - the extensible chat client (headless version)
|
||||
|
||||
== SYNOPSIS
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -14,8 +14,9 @@ weechat - the extensible chat client
|
||||
|
||||
== SYNOPSIS
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
@ -24,6 +24,11 @@
|
||||
*-p*, *--no-plugin*::
|
||||
プラグインの自動ロードを止める
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
*-r*, *--run-command* _<command>_::
|
||||
起動後にコマンドを実行 (複数のコマンドを指定するにはセミコロンで各コマンドを区切る)
|
||||
|
||||
|
@ -12,8 +12,9 @@ weechat-headless - 拡張可能なチャットクライアント (ヘッドレ
|
||||
|
||||
== 書式
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -12,8 +12,9 @@ weechat - 拡張可能なチャットクライアント
|
||||
|
||||
== 書式
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
@ -23,6 +23,11 @@
|
||||
*-p*, *--no-plugin*::
|
||||
Wyłącza automatyczne ładowanie wtyczek.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
*-r*, *--run-command* _<komenda>_::
|
||||
Wykonuje komendę(-y) po uruchomieniu (komendy należy oddzielać średnikiem).
|
||||
|
||||
|
@ -12,8 +12,9 @@ weechat-headless - rozszerzalny klient rozmów (headless version)
|
||||
|
||||
== SKŁADNIA
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -12,8 +12,9 @@ weechat - rozszerzalny klient rozmów
|
||||
|
||||
== SKŁADNIA
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-p|--no-plugin] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [wtyczka:opcja...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [wtyczka:opcja...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
@ -26,6 +26,11 @@
|
||||
*-p*, *--no-plugin*::
|
||||
Отключить автозагрузку плагинов.
|
||||
|
||||
// TRANSLATION MISSING
|
||||
*-P*, *--plugins* _<plugins>_::
|
||||
Load only these plugins at startup (see /help weechat.plugin.autoload).
|
||||
If this option is given, the option weechat.plugin.autoload is not used.
|
||||
|
||||
*-r*, *--run-command* _<команда>_::
|
||||
Запустить команду (или команды) после загрузки WeeChat (несколько команд
|
||||
можно записать через точку с запятой).
|
||||
|
@ -14,8 +14,9 @@ weechat-headless - расширяемый чат-клиент (headless version)
|
||||
|
||||
== ОБЗОР
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
|
||||
*weechat-headless* [-c|--colors]
|
||||
*weechat-headless* [-h|--help]
|
||||
*weechat-headless* [-l|--license]
|
||||
|
@ -13,8 +13,9 @@ weechat - расширяемый чат-клиент
|
||||
|
||||
== ОБЗОР
|
||||
|
||||
// TRANSLATION MISSING
|
||||
[verse]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <путь>] [-p|--no-plugin] [-r|--run-command <команда>] [-s|--no-script] [--upgrade] [<плагин>:<параметр>...]
|
||||
*weechat* [-a|--no-connect] [-d|--dir <путь>] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <команда>] [-s|--no-script] [--upgrade] [<плагин>:<параметр>...]
|
||||
*weechat* [-c|--colors]
|
||||
*weechat* [-h|--help]
|
||||
*weechat* [-l|--license]
|
||||
|
5
po/cs.po
5
po/cs.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -156,6 +156,7 @@ msgstr ""
|
||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||
msgstr "Použití: %s [volba...] [plugin:volba...]\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
||||
" -c, --colors display default colors in terminal\n"
|
||||
@ -165,6 +166,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
5
po/de.po
5
po/de.po
@ -24,7 +24,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-06-14 23:03+0200\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
@ -163,6 +163,7 @@ msgstr ""
|
||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||
msgstr "Aufruf: %s [Option...] [Erweiterung:Option...]\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
||||
" -c, --colors display default colors in terminal\n"
|
||||
@ -172,6 +173,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
4
po/es.po
4
po/es.po
@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -173,6 +173,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
8
po/fr.po
8
po/fr.po
@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"PO-Revision-Date: 2018-08-17 19:37+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-08-17 19:40+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@ -165,6 +165,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
@ -183,6 +185,8 @@ msgstr ""
|
||||
" -h, --help afficher cette aide\n"
|
||||
" -l, --license afficher la licence WeeChat\n"
|
||||
" -p, --no-plugin ne charger aucune extension au démarrage\n"
|
||||
" -P, --plugins <exts> charger uniquement ces extensions au démarrage\n"
|
||||
" (voir /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> lancer la/les commande(s) après le démarrage\n"
|
||||
" (plusieurs commandes peuvent être séparées par "
|
||||
"des points-virgules)\n"
|
||||
|
4
po/hu.po
4
po/hu.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -172,6 +172,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
4
po/it.po
4
po/it.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -171,6 +171,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
5
po/ja.po
5
po/ja.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-07-12 09:00+0900\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@ -155,6 +155,7 @@ msgstr ""
|
||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||
msgstr "使い方: %s [オプション...] [プラグイン:オプション...]\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
||||
" -c, --colors display default colors in terminal\n"
|
||||
@ -164,6 +165,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
5
po/pl.po
5
po/pl.po
@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-07-09 00:51+0100\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: Polish <soltys1@gmail.com>\n"
|
||||
@ -157,6 +157,7 @@ msgstr ""
|
||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||
msgstr "Użycie: %s [argumenty...] [wtyczka:opcje...]\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
||||
" -c, --colors display default colors in terminal\n"
|
||||
@ -166,6 +167,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
5
po/pt.po
5
po/pt.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@ -156,6 +156,7 @@ msgstr ""
|
||||
msgid "Usage: %s [option...] [plugin:option...]\n"
|
||||
msgstr "Utilização: %s [opção...] [plugin:opção...]\n"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
" -a, --no-connect disable auto-connect to servers at startup\n"
|
||||
" -c, --colors display default colors in terminal\n"
|
||||
@ -165,6 +166,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
|
||||
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -199,6 +199,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
4
po/ru.po
4
po/ru.po
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -180,6 +180,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
4
po/tr.po
4
po/tr.po
@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
|
||||
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -155,6 +155,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:36+0200\n"
|
||||
"POT-Creation-Date: 2018-08-17 19:39+0200\n"
|
||||
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@ -153,6 +153,8 @@ msgid ""
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by semicolons)\n"
|
||||
" -s, --no-script don't load any script at startup\n"
|
||||
|
@ -4534,10 +4534,10 @@ COMMAND_CALLBACK(plugin)
|
||||
{
|
||||
plugin_argv = string_split (argv_eol[2], " ", 0, 0,
|
||||
&plugin_argc);
|
||||
plugin_auto_load (plugin_argc, plugin_argv, 1, 1, 1);
|
||||
plugin_auto_load (NULL, 1, 1, 1, plugin_argc, plugin_argv);
|
||||
}
|
||||
else
|
||||
plugin_auto_load (0, NULL, 1, 1, 1);
|
||||
plugin_auto_load (NULL, 1, 1, 1, 0, NULL);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
@ -4571,7 +4571,7 @@ COMMAND_CALLBACK(plugin)
|
||||
if (strcmp (argv[2], "*") == 0)
|
||||
{
|
||||
plugin_unload_all ();
|
||||
plugin_auto_load (plugin_argc, plugin_argv, 1, 1, 1);
|
||||
plugin_auto_load (NULL, 1, 1, 1, plugin_argc, plugin_argv);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -4586,7 +4586,7 @@ COMMAND_CALLBACK(plugin)
|
||||
else
|
||||
{
|
||||
plugin_unload_all ();
|
||||
plugin_auto_load (0, NULL, 1, 1, 1);
|
||||
plugin_auto_load (NULL, 1, 1, 1, 0, NULL);
|
||||
}
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ char *weechat_home = NULL; /* home dir. (default: ~/.weechat) */
|
||||
int weechat_locale_ok = 0; /* is locale OK? */
|
||||
char *weechat_local_charset = NULL; /* example: ISO-8859-1, UTF-8 */
|
||||
int weechat_server_cmd_line = 0; /* at least 1 server on cmd line */
|
||||
int weechat_auto_load_plugins = 1; /* auto load plugins */
|
||||
char *weechat_force_plugin_autoload = NULL; /* force load of plugins */
|
||||
int weechat_plugin_no_dlclose = 0; /* remove calls to dlclose for libs */
|
||||
/* (useful with valgrind) */
|
||||
int weechat_no_gnutls = 0; /* remove init/deinit of gnutls */
|
||||
@ -152,6 +152,8 @@ weechat_display_usage ()
|
||||
" -h, --help display this help\n"
|
||||
" -l, --license display WeeChat license\n"
|
||||
" -p, --no-plugin don't load any plugin at startup\n"
|
||||
" -P, --plugins <plugins> load only these plugins at startup\n"
|
||||
" (see /help weechat.plugin.autoload)\n"
|
||||
" -r, --run-command <cmd> run command(s) after startup\n"
|
||||
" (many commands can be separated by "
|
||||
"semicolons)\n"
|
||||
@ -193,7 +195,7 @@ weechat_parse_args (int argc, char *argv[])
|
||||
weechat_upgrading = 0;
|
||||
weechat_home = NULL;
|
||||
weechat_server_cmd_line = 0;
|
||||
weechat_auto_load_plugins = 1;
|
||||
weechat_force_plugin_autoload = NULL;
|
||||
weechat_plugin_no_dlclose = 0;
|
||||
|
||||
for (i = 1; i < argc; i++)
|
||||
@ -269,7 +271,26 @@ weechat_parse_args (int argc, char *argv[])
|
||||
else if ((strcmp (argv[i], "-p") == 0)
|
||||
|| (strcmp (argv[i], "--no-plugin") == 0))
|
||||
{
|
||||
weechat_auto_load_plugins = 0;
|
||||
if (weechat_force_plugin_autoload)
|
||||
free (weechat_force_plugin_autoload);
|
||||
weechat_force_plugin_autoload = strdup ("!*");
|
||||
}
|
||||
else if ((strcmp (argv[i], "-P") == 0)
|
||||
|| (strcmp (argv[i], "--plugins") == 0))
|
||||
{
|
||||
if (i + 1 < argc)
|
||||
{
|
||||
if (weechat_force_plugin_autoload)
|
||||
free (weechat_force_plugin_autoload);
|
||||
weechat_force_plugin_autoload = strdup (argv[++i]);
|
||||
}
|
||||
else
|
||||
{
|
||||
string_fprintf (stderr,
|
||||
_("Error: missing argument for \"%s\" option\n"),
|
||||
argv[i]);
|
||||
weechat_shutdown (EXIT_FAILURE, 0);
|
||||
}
|
||||
}
|
||||
else if ((strcmp (argv[i], "-r") == 0)
|
||||
|| (strcmp (argv[i], "--run-command") == 0))
|
||||
@ -616,6 +637,8 @@ weechat_shutdown (int return_code, int crash)
|
||||
free (weechat_home);
|
||||
if (weechat_local_charset)
|
||||
free (weechat_local_charset);
|
||||
if (weechat_force_plugin_autoload)
|
||||
free (weechat_force_plugin_autoload);
|
||||
|
||||
if (crash)
|
||||
abort ();
|
||||
@ -697,7 +720,7 @@ weechat_init (int argc, char *argv[], void (*gui_init_cb)())
|
||||
weechat_term_check (); /* warning about wrong $TERM */
|
||||
weechat_locale_check (); /* warning about wrong locale */
|
||||
command_startup (0); /* command executed before plugins */
|
||||
plugin_init (weechat_auto_load_plugins, /* init plugin interface(s) */
|
||||
plugin_init (weechat_force_plugin_autoload, /* init plugin interface(s) */
|
||||
argc, argv);
|
||||
command_startup (1); /* commands executed after plugins */
|
||||
if (!weechat_upgrading)
|
||||
|
@ -998,12 +998,14 @@ plugin_arraylist_cmp_cb (void *data,
|
||||
*/
|
||||
|
||||
void
|
||||
plugin_auto_load (int argc, char **argv,
|
||||
plugin_auto_load (char *force_plugin_autoload,
|
||||
int load_from_plugin_path,
|
||||
int load_from_extra_lib_dir,
|
||||
int load_from_lib_dir)
|
||||
int load_from_lib_dir,
|
||||
int argc, char **argv)
|
||||
{
|
||||
char *dir_name, *plugin_path, *plugin_path2, *extra_libdir;
|
||||
const char *ptr_plugin_autoload;
|
||||
struct t_weechat_plugin *ptr_plugin;
|
||||
struct t_plugin_args plugin_args;
|
||||
struct t_arraylist *arraylist;
|
||||
@ -1015,10 +1017,12 @@ plugin_auto_load (int argc, char **argv,
|
||||
plugin_autoload_array = NULL;
|
||||
plugin_autoload_count = 0;
|
||||
|
||||
if (CONFIG_STRING(config_plugin_autoload)
|
||||
&& CONFIG_STRING(config_plugin_autoload)[0])
|
||||
ptr_plugin_autoload = (force_plugin_autoload) ?
|
||||
force_plugin_autoload : CONFIG_STRING(config_plugin_autoload);
|
||||
|
||||
if (ptr_plugin_autoload && ptr_plugin_autoload[0])
|
||||
{
|
||||
plugin_autoload_array = string_split (CONFIG_STRING(config_plugin_autoload),
|
||||
plugin_autoload_array = string_split (ptr_plugin_autoload,
|
||||
",", 0, 0,
|
||||
&plugin_autoload_count);
|
||||
}
|
||||
@ -1351,20 +1355,17 @@ plugin_display_short_list ()
|
||||
*/
|
||||
|
||||
void
|
||||
plugin_init (int auto_load, int argc, char *argv[])
|
||||
plugin_init (char *force_plugin_autoload, int argc, char *argv[])
|
||||
{
|
||||
/* read plugins options on disk */
|
||||
plugin_config_init ();
|
||||
plugin_config_read ();
|
||||
|
||||
/* auto-load plugins if asked */
|
||||
if (auto_load)
|
||||
{
|
||||
plugin_quiet = 1;
|
||||
plugin_auto_load (argc, argv, 1, 1, 1);
|
||||
plugin_display_short_list ();
|
||||
plugin_quiet = 0;
|
||||
}
|
||||
/* auto-load plugins */
|
||||
plugin_quiet = 1;
|
||||
plugin_auto_load (force_plugin_autoload, 1, 1, 1, argc, argv);
|
||||
plugin_display_short_list ();
|
||||
plugin_quiet = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -39,15 +39,17 @@ extern const char *plugin_get_name (struct t_weechat_plugin *plugin);
|
||||
extern struct t_weechat_plugin *plugin_load (const char *filename,
|
||||
int init_plugin,
|
||||
int argc, char **argv);
|
||||
extern void plugin_auto_load (int argc, char **argv,
|
||||
extern void plugin_auto_load (char *force_plugin_autoload,
|
||||
int load_from_plugin_path,
|
||||
int load_from_extra_lib_dir,
|
||||
int load_from_lib_dir);
|
||||
int load_from_lib_dir,
|
||||
int argc,
|
||||
char **argv);
|
||||
extern void plugin_unload (struct t_weechat_plugin *plugin);
|
||||
extern void plugin_unload_name (const char *name);
|
||||
extern void plugin_unload_all ();
|
||||
extern void plugin_reload_name (const char *name, int argc, char **argv);
|
||||
extern void plugin_init (int auto_load, int argc, char *argv[]);
|
||||
extern void plugin_init (char *force_plugin_autoload, int argc, char *argv[]);
|
||||
extern void plugin_end ();
|
||||
extern struct t_hdata *plugin_hdata_plugin_cb (const void *pointer,
|
||||
void *data,
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user