diff --git a/doc/de/autogen/user/exec_commands.txt b/doc/de/autogen/user/exec_commands.txt index 5fa812f6f..b804ddb28 100644 --- a/doc/de/autogen/user/exec_commands.txt +++ b/doc/de/autogen/user/exec_commands.txt @@ -49,5 +49,11 @@ property: Hook-Fähigkeit -all: entfernt alle beendeten Befehle Standardoptionen können in der Option exec.command.default_options bestimmt werden. + +Beispiele: + /exec -n ls -l /tmp + /exec -n ps xu | grep weechat + /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -o uptime ---- diff --git a/doc/en/autogen/user/exec_commands.txt b/doc/en/autogen/user/exec_commands.txt index 6f29d8555..971498550 100644 --- a/doc/en/autogen/user/exec_commands.txt +++ b/doc/en/autogen/user/exec_commands.txt @@ -49,5 +49,11 @@ property: hook property -all: delete all terminated commands Default options can be set in the option exec.command.default_options. + +Examples: + /exec -n ls -l /tmp + /exec -n ps xu | grep weechat + /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -o uptime ---- diff --git a/doc/fr/autogen/user/exec_commands.txt b/doc/fr/autogen/user/exec_commands.txt index b8c49eb02..ab6a3ae16 100644 --- a/doc/fr/autogen/user/exec_commands.txt +++ b/doc/fr/autogen/user/exec_commands.txt @@ -49,5 +49,11 @@ propriété: propriété du hook -all: supprimer toutes les commandes terminées Les options par défaut peuvent être définies dans l'option exec.command.default_options. + +Exemples: + /exec -n ls -l /tmp + /exec -n ps xu | grep weechat + /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -o uptime ---- diff --git a/doc/it/autogen/user/exec_commands.txt b/doc/it/autogen/user/exec_commands.txt index 6f29d8555..971498550 100644 --- a/doc/it/autogen/user/exec_commands.txt +++ b/doc/it/autogen/user/exec_commands.txt @@ -49,5 +49,11 @@ property: hook property -all: delete all terminated commands Default options can be set in the option exec.command.default_options. + +Examples: + /exec -n ls -l /tmp + /exec -n ps xu | grep weechat + /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -o uptime ---- diff --git a/doc/ja/autogen/user/exec_commands.txt b/doc/ja/autogen/user/exec_commands.txt index 6f29d8555..971498550 100644 --- a/doc/ja/autogen/user/exec_commands.txt +++ b/doc/ja/autogen/user/exec_commands.txt @@ -49,5 +49,11 @@ property: hook property -all: delete all terminated commands Default options can be set in the option exec.command.default_options. + +Examples: + /exec -n ls -l /tmp + /exec -n ps xu | grep weechat + /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -o uptime ---- diff --git a/doc/pl/autogen/user/exec_commands.txt b/doc/pl/autogen/user/exec_commands.txt index 6f29d8555..971498550 100644 --- a/doc/pl/autogen/user/exec_commands.txt +++ b/doc/pl/autogen/user/exec_commands.txt @@ -49,5 +49,11 @@ property: hook property -all: delete all terminated commands Default options can be set in the option exec.command.default_options. + +Examples: + /exec -n ls -l /tmp + /exec -n ps xu | grep weechat + /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx + /exec -o uptime ---- diff --git a/po/cs.po b/po/cs.po index 581b30123..eacc56848 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:06+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -4677,7 +4677,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/de.po b/po/de.po index e9befe208..a15a53334 100644 --- a/po/de.po +++ b/po/de.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-15 19:18+0100\n" -"PO-Revision-Date: 2014-03-15 19:21+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" +"PO-Revision-Date: 2014-03-15 19:39+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de_DE\n" @@ -5387,7 +5387,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" " -list: zeigt laufende Befehle an\n" " -sh: die shell wird verwendet um Befehle auszuführen " @@ -5448,7 +5454,13 @@ msgstr "" " -all: entfernt alle beendeten Befehle\n" "\n" "Standardoptionen können in der Option exec.command.default_options bestimmt " -"werden." +"werden.\n" +"\n" +"Beispiele:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgid "ids (numbers and names) of executed commands" msgstr "IDs (Nummern und Namen) von ausgeführten Befehlen" diff --git a/po/es.po b/po/es.po index 2d8fab657..362938ca5 100644 --- a/po/es.po +++ b/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: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -4892,7 +4892,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/fr.po b/po/fr.po index a9515f5a2..8b394e22f 100644 --- a/po/fr.po +++ b/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: 2014-03-15 19:18+0100\n" -"PO-Revision-Date: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" +"PO-Revision-Date: 2014-03-15 19:37+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -5257,7 +5257,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" " -list: lister les commandes\n" " -sh: utiliser le shell pour exécuter la commande (par défaut)\n" @@ -5314,7 +5320,13 @@ msgstr "" " -all: supprimer toutes les commandes terminées\n" "\n" "Les options par défaut peuvent être définies dans l'option exec.command." -"default_options." +"default_options.\n" +"\n" +"Exemples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgid "ids (numbers and names) of executed commands" msgstr "ids (nombres et noms) des commandes exécutées" diff --git a/po/hu.po b/po/hu.po index 7c27b7009..f46e5d769 100644 --- a/po/hu.po +++ b/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: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -4266,7 +4266,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/it.po b/po/it.po index a95a363fb..ef417cb2e 100644 --- a/po/it.po +++ b/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: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -5030,7 +5030,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/ja.po b/po/ja.po index 4901966a1..c14ac18e2 100644 --- a/po/ja.po +++ b/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: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -5037,7 +5037,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/pl.po b/po/pl.po index d0d38e687..0c0ff5f05 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -5149,7 +5149,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/pt_BR.po b/po/pt_BR.po index eadb3cf36..df1312e62 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Sergio Durigan Junior \n" "Language-Team: weechat-dev \n" @@ -4733,7 +4733,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/ru.po b/po/ru.po index 791cfac5b..a63ea31d6 100644 --- a/po/ru.po +++ b/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: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -4299,7 +4299,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/tr.po b/po/tr.po index 64d303bbb..a13a8d603 100644 --- a/po/tr.po +++ b/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: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -3855,7 +3855,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/po/weechat.pot b/po/weechat.pot index b32e70021..cab806ada 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: 2014-03-15 19:18+0100\n" +"POT-Creation-Date: 2014-03-15 19:36+0100\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: weechat-dev \n" @@ -3855,7 +3855,13 @@ msgid "" " -del: delete a terminated command\n" " -all: delete all terminated commands\n" "\n" -"Default options can be set in the option exec.command.default_options." +"Default options can be set in the option exec.command.default_options.\n" +"\n" +"Examples:\n" +" /exec -n ls -l /tmp\n" +" /exec -n ps xu | grep weechat\n" +" /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" +" /exec -o uptime" msgstr "" msgid "ids (numbers and names) of executed commands" diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c index ea919cc6d..982c95ee4 100644 --- a/src/plugins/exec/exec-command.c +++ b/src/plugins/exec/exec-command.c @@ -741,7 +741,13 @@ exec_command_init () " -all: delete all terminated commands\n" "\n" "Default options can be set in the option " - "exec.command.default_options."), + "exec.command.default_options.\n" + "\n" + "Examples:\n" + " /exec -n ls -l /tmp\n" + " /exec -n ps xu | grep weechat\n" + " /exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx\n" + " /exec -o uptime"), "-list" " || -sh|-nosh|-bg|-nobg|-stdin|-nostdin|-buffer|-l|-o|-n|-sw|-nosw|" "-ln|-noln|-color|-timeout|-name|%*"