summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-03-10 15:49:49 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-03-10 15:49:49 +0000
commit47d03e7deefe563afa46b0e6071eaeee644c6489 (patch)
treee34b5187a99ecb8515e5568e6b1dba8f0666f451 /src/common
parent9fbd33faaf545859e3ff8af963e3113bd5001e73 (diff)
downloadweechat-47d03e7deefe563afa46b0e6071eaeee644c6489.zip
Fixed list of commands output
Diffstat (limited to 'src/common')
-rw-r--r--src/common/weechat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/weechat.c b/src/common/weechat.c
index 74d2c47cd..c8512416a 100644
--- a/src/common/weechat.c
+++ b/src/common/weechat.c
@@ -264,12 +264,12 @@ void wee_display_commands (int weechat_cmd, int irc_cmd)
printf ("* %s", weechat_commands[i].command_name);
if (weechat_commands[i].arguments &&
weechat_commands[i].arguments[0])
- printf (" %s\n", _(weechat_commands[i].arguments));
+ printf (" %s\n\n", _(weechat_commands[i].arguments));
else
- printf ("\n");
+ printf ("\n\n");
if (weechat_commands[i].arguments_description &&
weechat_commands[i].arguments_description[0])
- printf ("\n%s\n\n",
+ printf ("%s\n\n",
_(weechat_commands[i].arguments_description));
}
}
@@ -286,12 +286,12 @@ void wee_display_commands (int weechat_cmd, int irc_cmd)
printf ("* %s", irc_commands[i].command_name);
if (irc_commands[i].arguments &&
irc_commands[i].arguments[0])
- printf (" %s\n", _(irc_commands[i].arguments));
+ printf (" %s\n\n", _(irc_commands[i].arguments));
else
- printf ("\n");
+ printf ("\n\n");
if (irc_commands[i].arguments_description &&
irc_commands[i].arguments_description[0])
- printf ("\n%s\n\n",
+ printf ("%s\n\n",
_(irc_commands[i].arguments_description));
}
}