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

script: add options "-ol" and "-il" in command /script, display "No scripts loaded" if no scripts are loaded

This commit is contained in:
Sébastien Helleu
2019-09-19 21:20:55 +02:00
parent 8a3ffda0a2
commit 85f6c5eeda
22 changed files with 392 additions and 248 deletions
+8 -3
View File
@@ -290,7 +290,7 @@ script_command_init ()
weechat_hook_command (
"script",
N_("WeeChat script manager"),
N_("list [-o|-i]"
N_("list [-o|-ol|-i|-il]"
" || search <text>"
" || show <script>"
" || load|unload|reload <script> [<script>...]"
@@ -299,9 +299,14 @@ script_command_init ()
" || upgrade"
" || update"),
N_(" list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n"
" -o: send list of loaded scripts to buffer "
"(string in English)\n"
" -ol: send list of loaded scripts to buffer "
"(translated string)\n"
" -i: copy list of loaded scripts in command line (for "
"sending to buffer)\n"
"sending to buffer) (string in English)\n"
" -il: copy list of loaded scripts in command line (for "
"sending to buffer) (translated string)\n"
" search: search scripts by tags, language (python, "
"perl, ...), filename extension (py, pl, ...) or text; result is "
"displayed on scripts buffer\n"