mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +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
|
|
@ -148,14 +148,12 @@ static void cmd_ignore_show(void)
|
|||
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, IRCTXT_IGNORE_FOOTER);
|
||||
}
|
||||
|
||||
/* SYNTAX: IGNORE [-regexp | -word] [-pattern <pattern>] [-except] [-replies]
|
||||
[-channels <channel>] [-time <secs>] <mask> <levels>
|
||||
IGNORE [-regexp | -word] [-pattern <pattern>] [-except] [-replies]
|
||||
[-time <secs>] <channels> <levels> */
|
||||
static void cmd_ignore(const char *data)
|
||||
{
|
||||
/* /IGNORE [-regexp | -word] [-pattern <pattern>] [-except]
|
||||
[-replies] [-channels <channel>] [-time <secs>] <mask> <levels>
|
||||
OR
|
||||
|
||||
/IGNORE [-regexp | -word] [-pattern <pattern>] [-except] [-replies]
|
||||
[-time <secs>] <channels> <levels> */
|
||||
GHashTable *optlist;
|
||||
IGNORE_REC *rec;
|
||||
char *patternarg, *chanarg, *mask, *levels, *key, *timestr;
|
||||
|
|
@ -247,6 +245,7 @@ static void fe_unignore(IGNORE_REC *rec)
|
|||
ignore_update_rec(rec);
|
||||
}
|
||||
|
||||
/* SYNTAX: UNIGNORE <id>|<mask> */
|
||||
static void cmd_unignore(const char *data)
|
||||
{
|
||||
IGNORE_REC *rec;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue