diff options
-rw-r--r-- | doc/de/cmdline_options.de.txt | 3 | ||||
-rw-r--r-- | doc/en/cmdline_options.en.txt | 3 | ||||
-rw-r--r-- | doc/fr/cmdline_options.fr.txt | 3 | ||||
-rw-r--r-- | doc/it/cmdline_options.it.txt | 3 | ||||
-rw-r--r-- | doc/ja/cmdline_options.ja.txt | 3 | ||||
-rw-r--r-- | po/cs.po | 12 | ||||
-rw-r--r-- | po/de.po | 11 | ||||
-rw-r--r-- | po/es.po | 11 | ||||
-rw-r--r-- | po/fr.po | 14 | ||||
-rw-r--r-- | po/hu.po | 12 | ||||
-rw-r--r-- | po/it.po | 11 | ||||
-rw-r--r-- | po/ja.po | 11 | ||||
-rw-r--r-- | po/pl.po | 11 | ||||
-rw-r--r-- | po/pt_BR.po | 11 | ||||
-rw-r--r-- | po/ru.po | 12 | ||||
-rw-r--r-- | po/tr.po | 11 | ||||
-rw-r--r-- | po/weechat.pot | 8 | ||||
-rw-r--r-- | src/core/weechat.c | 41 |
18 files changed, 49 insertions, 142 deletions
diff --git a/doc/de/cmdline_options.de.txt b/doc/de/cmdline_options.de.txt index ef218aec5..ef52e4f6d 100644 --- a/doc/de/cmdline_options.de.txt +++ b/doc/de/cmdline_options.de.txt @@ -12,9 +12,6 @@ *-h*, *--help*:: zeigt einen Hilfstext an. -*-k*, *--keys*:: - zeigt die Standard-Tastaturbelegung an. - *-l*, *--license*:: zeigt die Lizenz von WeeChat an. diff --git a/doc/en/cmdline_options.en.txt b/doc/en/cmdline_options.en.txt index 1e2668301..e6808c56d 100644 --- a/doc/en/cmdline_options.en.txt +++ b/doc/en/cmdline_options.en.txt @@ -12,9 +12,6 @@ *-h*, *--help*:: Display help. -*-k*, *--keys*:: - Display WeeChat default keys. - *-l*, *--license*:: Display WeeChat license. diff --git a/doc/fr/cmdline_options.fr.txt b/doc/fr/cmdline_options.fr.txt index b70a107dc..e0a35c86c 100644 --- a/doc/fr/cmdline_options.fr.txt +++ b/doc/fr/cmdline_options.fr.txt @@ -13,9 +13,6 @@ *-h*, *--help*:: Afficher l'aide. -*-k*, *--keys*:: - Afficher les touches par défaut de WeeChat. - *-l*, *--license*:: Afficher la licence de WeeChat. diff --git a/doc/it/cmdline_options.it.txt b/doc/it/cmdline_options.it.txt index 9ca71066c..44c257f31 100644 --- a/doc/it/cmdline_options.it.txt +++ b/doc/it/cmdline_options.it.txt @@ -12,9 +12,6 @@ *-h*, *--help*:: Mostra l'aiuto. -*-k*, *--keys*:: - Mostra i tasti predefiniti di WeeChat. - *-l*, *--license*:: Mostra la licenza di WeeChat. diff --git a/doc/ja/cmdline_options.ja.txt b/doc/ja/cmdline_options.ja.txt index 41ccae8ea..674da0f3c 100644 --- a/doc/ja/cmdline_options.ja.txt +++ b/doc/ja/cmdline_options.ja.txt @@ -12,9 +12,6 @@ *-h*, *--help*:: ヘルプを表示 -*-k*, *--keys*:: - WeeChat の デフォルトキーを表示 - *-l*, *--license*:: WeeChat ライセンスを表示 @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-10 09:13+0200\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -49,7 +49,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -78,11 +77,6 @@ msgstr "" "dokumentacích\n" " k pluginům)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, fuzzy, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s výchozí klávesy:\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Chyba: chybí argument pro volbu \"%s\"\n" @@ -9509,3 +9503,7 @@ msgstr "" msgid "Constants" msgstr "" + +#, fuzzy +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s výchozí klávesy:\n" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-10 09:02+0200\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <weechatter@arcor.de>\n" @@ -54,7 +54,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -89,11 +88,6 @@ msgstr "" "zusätzliche Informationen\n" " zu den mögliche Optionen zu erhalten.)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s Standardtastenbelegungen (Kontext: \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Fehler: fehlendes Argument für die Option \"%s\"\n" @@ -10403,3 +10397,6 @@ msgstr "Type" msgid "Constants" msgstr "Konstanten" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s Standardtastenbelegungen (Kontext: \"%s\"):\n" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-10 09:14+0200\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -51,7 +51,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -83,11 +82,6 @@ msgstr "" " (ver la documentación del plugin para más información\n" " sobre posibles opciones)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "teclas por defecto de %s (contexto: \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Error: falta un argumento para la opción \"%s\"\n" @@ -9759,3 +9753,6 @@ msgstr "Tipo" msgid "Constants" msgstr "Constantes" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "teclas por defecto de %s (contexto: \"%s\"):\n" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" -"PO-Revision-Date: 2013-06-28 19:47+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" +"PO-Revision-Date: 2013-06-28 20:35+0200\n" "Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -49,7 +49,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -66,7 +65,6 @@ msgstr "" " -d, --dir <rep> définir le répertoire de base pour WeeChat " "(défaut: ~/.weechat)\n" " -h, --help afficher cette aide\n" -" -k, --keys afficher les touches WeeChat par défaut\n" " -l, --license afficher la licence WeeChat\n" " -p, --no-plugin ne charger aucune extension au démarrage\n" " -r, --run-command <cmd> lancer la/les commande(s) après le démarrage\n" @@ -79,11 +77,6 @@ msgstr "" " extension:option option pour une extension (voir man weechat-" "curses)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "Touches par défaut %s (contexte: \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Erreur: paramètre manquant pour l'option \"%s\"\n" @@ -10140,3 +10133,6 @@ msgstr "Type" msgid "Constants" msgstr "Constantes" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "Touches par défaut %s (contexte: \"%s\"):\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-08 12:30+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -49,7 +49,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -73,11 +72,6 @@ msgstr "" " -v, --version WeeChat verziójának mutatása\n" " -w, --weechat-commands WeeChat parancsok mutatása\n" -#. TRANSLATORS: first "%s" is "weechat" -#, fuzzy, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s alapértelmezett billentyűk:\n" - #, fuzzy, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "%s hiányzó argumentum a(z) \"%s\" opciónak\n" @@ -8971,3 +8965,7 @@ msgstr "" msgid "Constants" msgstr "" + +#, fuzzy +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s alapértelmezett billentyűk:\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-14 19:39-0300\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -49,7 +49,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -80,11 +79,6 @@ msgstr "" " (consultare la documentazione per maggiori\n" " informazioni sulle opzioni disponibili)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s tasti predefiniti (contesto: \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Errore: argomento mancante per l'opzione \"%s\"\n" @@ -9849,3 +9843,6 @@ msgstr "Tipo" msgid "Constants" msgstr "Costanti" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s tasti predefiniti (contesto: \"%s\"):\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-08 12:30+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/WeeChat>\n" @@ -49,7 +49,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -81,11 +80,6 @@ msgstr "" " (利用可能なオプションに関するより詳しい情報は、\n" " プラグインドキュメントを読んでください)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s デフォルトキー (コンテキスト: \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "エラー: \"%s\" オプションの引数がありません\n" @@ -9805,3 +9799,6 @@ msgstr "タイプ" msgid "Constants" msgstr "定数" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s デフォルトキー (コンテキスト: \"%s\"):\n" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-10 09:18+0200\n" "Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -52,7 +52,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -84,11 +83,6 @@ msgstr "" " (zajrzyj do dokumentacji wtyczek po więcej informacji\n" " o dostępnych opcjach)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s domyślne skróty klawiszowe (kontekst: \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Błąd: brak argumentu dla opcji \"%s\" \n" @@ -9964,3 +9958,6 @@ msgstr "Typ" msgid "Constants" msgstr "Stałe" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s domyślne skróty klawiszowe (kontekst: \"%s\"):\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 728a8ac06..70e18e7c7 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-10 09:19+0200\n" "Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -73,7 +73,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -103,11 +102,6 @@ msgstr "" "informações\n" " sobre possíveis opções)\n" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "Teclas de atalho padrão do %s (contexto \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "Erro: faltando argumento para opção \"%s\"\n" @@ -9138,3 +9132,6 @@ msgstr "" msgid "Constants" msgstr "" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "Teclas de atalho padrão do %s (contexto \"%s\"):\n" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-08 12:30+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -52,7 +52,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -77,11 +76,6 @@ msgstr "" " -v, --version отобразить версию WeeChat\n" " -w, --weechat-commands отобразить команды WeeChat\n" -#. TRANSLATORS: first "%s" is "weechat" -#, fuzzy, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s клавиши по умолчанию:\n" - #, fuzzy, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "%s нет аргумента для параметра \"%s\"\n" @@ -8989,3 +8983,7 @@ msgstr "" msgid "Constants" msgstr "" + +#, fuzzy +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s клавиши по умолчанию:\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.2-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-06-28 13:51+0200\n" "Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -47,7 +47,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -59,11 +58,6 @@ msgid "" " plugin:option option for plugin (see man weechat-curses)\n" msgstr "" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "%s default keys (context: \"%s\"):\n" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "" @@ -7988,3 +7982,6 @@ msgstr "Tür" msgid "Constants" msgstr "" + +#~ msgid "%s default keys (context: \"%s\"):\n" +#~ msgstr "%s default keys (context: \"%s\"):\n" diff --git a/po/weechat.pot b/po/weechat.pot index 64e4df4f8..ab39e6696 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.1-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-06-28 19:46+0200\n" +"POT-Creation-Date: 2013-06-28 20:35+0200\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -47,7 +47,6 @@ msgid "" " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" -" -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -59,11 +58,6 @@ msgid "" " plugin:option option for plugin (see man weechat-curses)\n" msgstr "" -#. TRANSLATORS: first "%s" is "weechat" -#, c-format -msgid "%s default keys (context: \"%s\"):\n" -msgstr "" - #, c-format msgid "Error: missing argument for \"%s\" option\n" msgstr "" diff --git a/src/core/weechat.c b/src/core/weechat.c index 45faebf51..bb6e82d4f 100644 --- a/src/core/weechat.c +++ b/src/core/weechat.c @@ -136,7 +136,6 @@ weechat_display_usage (char *exec_name) " -c, --colors display default colors in terminal\n" " -d, --dir <path> set WeeChat home directory (default: ~/.weechat)\n" " -h, --help display this help\n" - " -k, --keys display WeeChat default keys\n" " -l, --license display WeeChat license\n" " -p, --no-plugin don't load any plugin at startup\n" " -r, --run-command <cmd> run command(s) after startup\n" @@ -149,40 +148,6 @@ weechat_display_usage (char *exec_name) } /* - * Displays WeeChat default keys on standard output. - */ - -void -weechat_display_keys () -{ - struct t_gui_key *ptr_key; - char *expanded_name; - int i; - - for (i = 0; i < GUI_KEY_NUM_CONTEXTS; i++) - { - gui_key_default_bindings (i); - string_iconv_fprintf (stdout, - /* TRANSLATORS: first "%s" is "weechat" */ - _("%s default keys (context: \"%s\"):\n"), - (gui_key_context_string[i] && gui_key_context_string[i][0]) ? - _(gui_key_context_string[i]) : "", - version_get_name ()); - string_iconv_fprintf (stdout, "\n"); - for (ptr_key = gui_keys[i]; ptr_key; ptr_key = ptr_key->next_key) - { - expanded_name = gui_key_get_expanded_name (ptr_key->key); - string_iconv_fprintf (stdout, - "* %s => %s\n", - (expanded_name) ? expanded_name : ptr_key->key, - ptr_key->command); - if (expanded_name) - free (expanded_name); - } - } -} - -/* * Parses command line arguments. * * Arguments argc and argv come from main() function. @@ -228,12 +193,6 @@ weechat_parse_args (int argc, char *argv[]) weechat_display_usage (argv[0]); weechat_shutdown (EXIT_SUCCESS, 0); } - else if ((strcmp (argv[i], "-k") == 0) - || (strcmp (argv[i], "--keys") == 0)) - { - weechat_display_keys (); - weechat_shutdown (EXIT_SUCCESS, 0); - } else if ((strcmp (argv[i], "-l") == 0) || (strcmp (argv[i], "--license") == 0)) { |