diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-02-04 22:12:19 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-02-04 22:12:19 +0100 |
commit | 7d433b798fecc7002bb132e206a23d57fb89cb28 (patch) | |
tree | 3055a66310906b143ad92d90c3bd32b9403cdf75 /src/plugins/alias | |
parent | 63b8aa1f23249e132b975dfaf2089a9fe2dc1464 (diff) | |
download | weechat-7d433b798fecc7002bb132e206a23d57fb89cb28.zip |
Improve arguments displayed in /help of commands, display all commands with same name (for same command name in many plugins)
Diffstat (limited to 'src/plugins/alias')
-rw-r--r-- | src/plugins/alias/alias.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c index 7d347c9c6..630131762 100644 --- a/src/plugins/alias/alias.c +++ b/src/plugins/alias/alias.c @@ -959,12 +959,12 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) weechat_hook_command ("alias", N_("create an alias for a command"), - N_("[[-completion completion] alias_name [command " - "[arguments]]]"), + N_("[-completion <completion>] <alias> [<command> " + "[<arguments>]]"), N_("completion: completion for alias (optional, by " "default completion is done with target " "command)\n" - "alias_name: name of alias (can start or end " + " alias: name of alias (can start or end " "with \"*\" for alias listing)\n" " command: command name (many commands can be " "separated by semicolons)\n" @@ -997,8 +997,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) &alias_command_cb, NULL); weechat_hook_command ("unalias", N_("remove aliases"), - N_("alias_name [alias_name...]"), - N_("alias_name: name of alias to remove"), + N_("<alias> [<alias>...]"), + N_("alias: name of alias to remove"), "%(alias)|%*", &unalias_command_cb, NULL); |