summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-23 23:19:22 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-23 23:19:22 +0000
commitc529fe0096eddd0e6e12157cf8486ad9117de900 (patch)
tree2f39a225641823277f9acea56a95a6081e2eec99 /src/core
parent3e9164df1b9ad8433d3c46745b84c5df5f5207df (diff)
downloadirssi-c529fe0096eddd0e6e12157cf8486ad9117de900.zip
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
Diffstat (limited to 'src/core')
-rw-r--r--src/core/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/commands.c b/src/core/commands.c
index 57e17592..5fbec304 100644
--- a/src/core/commands.c
+++ b/src/core/commands.c
@@ -669,6 +669,7 @@ static void event_command(const char *line, SERVER_REC *server, void *item)
parse_command(line, expand_aliases, server, item);
}
+/* SYNTAX: EVAL <command(s)> */
static void cmd_eval(const char *data, SERVER_REC *server, void *item)
{
g_return_if_fail(data != NULL);
@@ -676,6 +677,7 @@ static void cmd_eval(const char *data, SERVER_REC *server, void *item)
eval_special_string(data, "", server, item);
}
+/* SYNTAX: CD <directory> */
static void cmd_cd(const char *data)
{
char *str;