mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3e9164df1b
commit
c529fe0096
27 changed files with 186 additions and 21 deletions
|
|
@ -346,6 +346,7 @@ static void theme_show(THEME_SEARCH_REC *rec, const char *key, const char *value
|
|||
}
|
||||
}
|
||||
|
||||
/* SYNTAX: FORMAT [-delete | -reset] [<module>] [<key> [<value>]] */
|
||||
static void cmd_format(const char *data)
|
||||
{
|
||||
GHashTable *optlist;
|
||||
|
|
@ -354,7 +355,6 @@ static void cmd_format(const char *data)
|
|||
void *free_arg;
|
||||
int reset;
|
||||
|
||||
/* /FORMAT [<module>] [<key> [<value>]] */
|
||||
if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_GETREST | PARAM_FLAG_OPTIONS,
|
||||
"format", &optlist, &module, &key, &value))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue