diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-03-10 17:20:14 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-03-10 17:20:14 +0000 |
commit | 6e253245fec2374fd2281d447ca08008094e1403 (patch) | |
tree | 16c7143c6a010bbb2952926c4c2eba030ee12643 /src/common | |
parent | 47d03e7deefe563afa46b0e6071eaeee644c6489 (diff) | |
download | weechat-6e253245fec2374fd2281d447ca08008094e1403.zip |
Fixed some commands help for doc
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/command.c | 16 | ||||
-rw-r--r-- | src/common/weechat.c | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/src/common/command.c b/src/common/command.c index 63c3f1146..97eee4e36 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -47,10 +47,10 @@ t_weechat_command weechat_commands[] = { "buffer", N_("manage buffers"), N_("[action | number]"), N_("action: action to do:\n" - " move move buffer in the list (may be relative, for example -1)\n" - " close close buffer (for channel: same as /part without part message)\n" - " list list opened buffers (no parameter implies this list)\n" - " notify set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)\n" + " move: move buffer in the list (may be relative, for example -1)\n" + " close: close buffer (for channel: same as /part without part message)\n" + " list: list opened buffers (no parameter implies this list)\n" + " notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)\n" "number: jump to buffer by number"), 0, MAX_ARGS, weechat_cmd_buffer, NULL }, { "clear", N_("clear window(s)"), @@ -105,10 +105,10 @@ t_weechat_command weechat_commands[] = { "window", N_("manage windows"), N_("[list | splith | splitv | [merge [down | up | left | right | all]]]"), N_( - " list list opened windows (no parameter implies this list)\n" - "splith split current window horizontally\n" - "splitv split current window vertically\n" - " merge merge window with another"), + "list: list opened windows (no parameter implies this list)\n" + "splith: split current window horizontally\n" + "splitv: split current window vertically\n" + "merge: merge window with another"), 0, 2, weechat_cmd_window, NULL }, { NULL, NULL, NULL, NULL, 0, 0, NULL, NULL } }; diff --git a/src/common/weechat.c b/src/common/weechat.c index c8512416a..bafa7fbad 100644 --- a/src/common/weechat.c +++ b/src/common/weechat.c @@ -267,6 +267,7 @@ void wee_display_commands (int weechat_cmd, int irc_cmd) printf (" %s\n\n", _(weechat_commands[i].arguments)); else printf ("\n\n"); + printf ("%s\n\n", _(weechat_commands[i].command_description)); if (weechat_commands[i].arguments_description && weechat_commands[i].arguments_description[0]) printf ("%s\n\n", @@ -289,6 +290,7 @@ void wee_display_commands (int weechat_cmd, int irc_cmd) printf (" %s\n\n", _(irc_commands[i].arguments)); else printf ("\n\n"); + printf ("%s\n\n", _(irc_commands[i].command_description)); if (irc_commands[i].arguments_description && irc_commands[i].arguments_description[0]) printf ("%s\n\n", |