Mercurial > pidgin.yaz
diff src/cmds.h @ 9247:933c7418fd03
[gaim-migrate @ 10046]
I went and made up a format for the help strings for commands.
I'm not married to this format if someone has a better suggestion.
I'll add help strings for IRC's commands (and give rid of its current
irc specific /help command, since there's no need for that anymore)
after someone suggets a better format, or no one complains about this one.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Wed, 09 Jun 2004 06:09:08 +0000 |
parents | 3e2ea5b69605 |
children | 848aeb69250d |
line wrap: on
line diff
--- a/src/cmds.h Wed Jun 09 05:32:17 2004 +0000 +++ b/src/cmds.h Wed Jun 09 06:09:08 2004 +0000 @@ -111,7 +111,11 @@ * be called. * @param prpl_id This is the prpl's id string. This is only meaningful is the proper flag is set. * @param func This is the function to call when someone enters this command. - * @param helpstr This is a string describing how to use the command. + * @param helpstr This is a whitespace sensitive, UTF-8, HTML string describing how to use the command. + * The prefered format of this string shall be the commands name, followed by a space + * and any arguments it accpets (if it takes any arguments, otherwise no space), follow + * by a colon, two spaces, and a description of the command in sentense form. No slash + * before the command name. * @return A pointer to a GaimCmdId. This is only used for calling gaim_cmd_unregister, which frees it. * Returns @c NULL on failure. */