/[weechat]/weechat/src/common/command.c
ViewVC logotype

Diff of /weechat/src/common/command.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by flashcode, Sat Feb 12 21:21:54 2005 UTC revision 1.43 by flashcode, Mon Feb 14 22:42:23 2005 UTC
# Line 1173  weechat_cmd_help (int argc, char **argv) Line 1173  weechat_cmd_help (int argc, char **argv)
1173                  gui_printf (NULL, _("Syntax: "));                  gui_printf (NULL, _("Syntax: "));
1174                  gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s",                  gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s",
1175                                    weechat_commands[i].command_name);                                    weechat_commands[i].command_name);
1176                  gui_printf (NULL, " %s\n",                  if (weechat_commands[i].arguments &&
1177                              (weechat_commands[i].arguments) ?                      weechat_commands[i].arguments[0])
1178                              _(weechat_commands[i].arguments) : "");                      gui_printf (NULL, " %s\n",
1179                  if (weechat_commands[i].arguments_description)                                  _(weechat_commands[i].arguments));
1180                    else
1181                        gui_printf (NULL, "\n");
1182                    if (weechat_commands[i].arguments_description &&
1183                        weechat_commands[i].arguments_description[0])
1184                      gui_printf (NULL, "%s\n",                      gui_printf (NULL, "%s\n",
1185                                  _(weechat_commands[i].arguments_description));                                  _(weechat_commands[i].arguments_description));
1186                  return 0;                  return 0;
# Line 1196  weechat_cmd_help (int argc, char **argv) Line 1200  weechat_cmd_help (int argc, char **argv)
1200                  gui_printf (NULL, _("Syntax: "));                  gui_printf (NULL, _("Syntax: "));
1201                  gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s",                  gui_printf_color (NULL, COLOR_WIN_CHAT_CHANNEL, "/%s",
1202                                    irc_commands[i].command_name);                                    irc_commands[i].command_name);
1203                  gui_printf (NULL, "%s\n",                  if (irc_commands[i].arguments &&
1204                              (irc_commands[i].arguments) ?                      irc_commands[i].arguments[0])
1205                              _(irc_commands[i].arguments) : "");                      gui_printf (NULL, " %s\n",
1206                  if (irc_commands[i].arguments_description)                                  _(irc_commands[i].arguments));
1207                    else
1208                        gui_printf (NULL, "\n");
1209                    if (irc_commands[i].arguments_description &&
1210                        irc_commands[i].arguments_description[0])
1211                      gui_printf (NULL, "%s\n",                      gui_printf (NULL, "%s\n",
1212                                  _(irc_commands[i].arguments_description));                                  _(irc_commands[i].arguments_description));
1213                  return 0;                  return 0;

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26