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

Improve arguments displayed in /help of commands, display all commands with same name (for same command name in many plugins)

This commit is contained in:
Sebastien Helleu
2011-02-04 22:12:19 +01:00
parent 63b8aa1f23
commit 7d433b798f
84 changed files with 10485 additions and 7826 deletions
+17 -5
View File
@@ -257,11 +257,23 @@ script_init (struct t_weechat_plugin *weechat_plugin,
}
weechat_hook_command (weechat_plugin->name,
N_("list/load/unload scripts"),
N_("[list [name]] | [listfull [name]] | "
"[load filename] | [autoload] | "
"[reload [name]] | [unload [name]]"),
N_("filename: script (file) to load\n"
"name: a script name\n\n"
N_("list|listfull [<name>]"
" || load <filename>"
" || autoload"
" || reload|unload [<name>]"),
N_(" list: list loaded scripts\n"
"listfull: list loaded scripts (verbose)\n"
" load: load a script\n"
"autoload: load all scripts in \"autoload\" "
"directory\n"
" reload: reload a script (if no name given, "
"unload all scripts, then load all scripts in "
"\"autoload\" directory)\n"
" unload: unload a script (if no name given, "
"unload all scripts)\n"
"filename: script (file) to load\n"
" name: a script name (name used in call to "
"\"register\" function)\n\n"
"Without argument, this command "
"lists all loaded scripts."),
completion,