summaryrefslogtreecommitdiff
path: root/include/commands
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands')
-rw-r--r--include/commands/cmd_admin.h2
-rw-r--r--include/commands/cmd_away.h2
-rw-r--r--include/commands/cmd_connect.h2
-rw-r--r--include/commands/cmd_die.h2
-rw-r--r--include/commands/cmd_eline.h2
-rw-r--r--include/commands/cmd_gline.h2
-rw-r--r--include/commands/cmd_info.h2
-rw-r--r--include/commands/cmd_invite.h2
-rw-r--r--include/commands/cmd_ison.h2
-rw-r--r--include/commands/cmd_join.h2
-rw-r--r--include/commands/cmd_kick.h2
-rw-r--r--include/commands/cmd_kill.h2
-rw-r--r--include/commands/cmd_kline.h2
-rw-r--r--include/commands/cmd_loadmodule.h2
-rw-r--r--include/commands/cmd_modules.h2
-rw-r--r--include/commands/cmd_motd.h2
-rw-r--r--include/commands/cmd_names.h2
-rw-r--r--include/commands/cmd_nick.h2
-rw-r--r--include/commands/cmd_notice.h2
-rw-r--r--include/commands/cmd_oper.h2
-rw-r--r--include/commands/cmd_part.h2
-rw-r--r--include/commands/cmd_pass.h2
-rw-r--r--include/commands/cmd_ping.h2
-rw-r--r--include/commands/cmd_pong.h2
-rw-r--r--include/commands/cmd_privmsg.h2
-rw-r--r--include/commands/cmd_qline.h2
-rw-r--r--include/commands/cmd_quit.h2
-rw-r--r--include/commands/cmd_rehash.h2
-rw-r--r--include/commands/cmd_restart.h2
-rw-r--r--include/commands/cmd_rules.h2
-rw-r--r--include/commands/cmd_squit.h2
-rw-r--r--include/commands/cmd_stats.h2
-rw-r--r--include/commands/cmd_time.h2
-rw-r--r--include/commands/cmd_topic.h2
-rw-r--r--include/commands/cmd_trace.h2
-rw-r--r--include/commands/cmd_unloadmodule.h2
-rw-r--r--include/commands/cmd_user.h2
-rw-r--r--include/commands/cmd_userhost.h2
-rw-r--r--include/commands/cmd_version.h2
-rw-r--r--include/commands/cmd_wallops.h2
-rw-r--r--include/commands/cmd_who.h2
-rw-r--r--include/commands/cmd_whois.h2
-rw-r--r--include/commands/cmd_whowas.h2
-rw-r--r--include/commands/cmd_zline.h2
44 files changed, 44 insertions, 44 deletions
diff --git a/include/commands/cmd_admin.h b/include/commands/cmd_admin.h
index ae577950e..e3972c398 100644
--- a/include/commands/cmd_admin.h
+++ b/include/commands/cmd_admin.h
@@ -24,7 +24,7 @@
class cmd_admin : public command_t
{
public:
- cmd_admin () : command_t("ADMIN",0,0) { }
+ cmd_admin () : command_t("ADMIN",0,0) { syntax = "[<servername>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_away.h b/include/commands/cmd_away.h
index 9cb15c9fa..92a51e549 100644
--- a/include/commands/cmd_away.h
+++ b/include/commands/cmd_away.h
@@ -31,7 +31,7 @@
class cmd_away : public command_t
{
public:
- cmd_away () : command_t("AWAY",0,0) { }
+ cmd_away () : command_t("AWAY",0,0) { syntax = "[<message>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_connect.h b/include/commands/cmd_connect.h
index 979ba4a6a..40fd8b752 100644
--- a/include/commands/cmd_connect.h
+++ b/include/commands/cmd_connect.h
@@ -24,7 +24,7 @@
class cmd_connect : public command_t
{
public:
- cmd_connect () : command_t("CONNECT",'o',1) { }
+ cmd_connect () : command_t("CONNECT",'o',1) { syntax = "<servername> [<remote-server>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h
index e95137ad8..ef4555670 100644
--- a/include/commands/cmd_die.h
+++ b/include/commands/cmd_die.h
@@ -31,7 +31,7 @@
class cmd_die : public command_t
{
public:
- cmd_die () : command_t("DIE",'o',1) { }
+ cmd_die () : command_t("DIE",'o',1) { syntax = "<password>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_eline.h b/include/commands/cmd_eline.h
index a48b74a43..85a1da47c 100644
--- a/include/commands/cmd_eline.h
+++ b/include/commands/cmd_eline.h
@@ -31,7 +31,7 @@
class cmd_eline : public command_t
{
public:
- cmd_eline () : command_t("ELINE",'o',1) { }
+ cmd_eline () : command_t("ELINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_gline.h b/include/commands/cmd_gline.h
index d8016d733..79552a274 100644
--- a/include/commands/cmd_gline.h
+++ b/include/commands/cmd_gline.h
@@ -31,7 +31,7 @@
class cmd_gline : public command_t
{
public:
- cmd_gline () : command_t("GLINE",'o',1) { }
+ cmd_gline () : command_t("GLINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_info.h b/include/commands/cmd_info.h
index 122395c44..1b48f80b8 100644
--- a/include/commands/cmd_info.h
+++ b/include/commands/cmd_info.h
@@ -31,7 +31,7 @@
class cmd_info : public command_t
{
public:
- cmd_info () : command_t("INFO",0,0) { }
+ cmd_info () : command_t("INFO",0,0) { syntax = "[<servermask>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_invite.h b/include/commands/cmd_invite.h
index 4150c8cc8..b6c78c13c 100644
--- a/include/commands/cmd_invite.h
+++ b/include/commands/cmd_invite.h
@@ -31,7 +31,7 @@
class cmd_invite : public command_t
{
public:
- cmd_invite () : command_t("INVITE",0,0) { }
+ cmd_invite () : command_t("INVITE",0,0) { syntax = "[<nick> <channel>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_ison.h b/include/commands/cmd_ison.h
index 5dd28ab75..e45c61e8d 100644
--- a/include/commands/cmd_ison.h
+++ b/include/commands/cmd_ison.h
@@ -31,7 +31,7 @@
class cmd_ison : public command_t
{
public:
- cmd_ison () : command_t("ISON",0,0) { }
+ cmd_ison () : command_t("ISON",0,0) { syntax = "<nick> {nick}"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_join.h b/include/commands/cmd_join.h
index c7b4a3b18..58863bb4c 100644
--- a/include/commands/cmd_join.h
+++ b/include/commands/cmd_join.h
@@ -31,7 +31,7 @@
class cmd_join : public command_t
{
public:
- cmd_join () : command_t("JOIN",0,1) { }
+ cmd_join () : command_t("JOIN",0,1) { syntax = "<channel>{,<channel>} {<key>{,<key>}}"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_kick.h b/include/commands/cmd_kick.h
index 6fb470329..097636965 100644
--- a/include/commands/cmd_kick.h
+++ b/include/commands/cmd_kick.h
@@ -31,7 +31,7 @@
class cmd_kick : public command_t
{
public:
- cmd_kick () : command_t("KICK",0,2) { }
+ cmd_kick () : command_t("KICK",0,2) { syntax = "<channel> <nick>{,<nick>} [<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_kill.h b/include/commands/cmd_kill.h
index a8e879166..8f7a40141 100644
--- a/include/commands/cmd_kill.h
+++ b/include/commands/cmd_kill.h
@@ -31,7 +31,7 @@
class cmd_kill : public command_t
{
public:
- cmd_kill () : command_t("KILL",'o',2) { }
+ cmd_kill () : command_t("KILL",'o',2) { syntax = "<nickname> <reason>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_kline.h b/include/commands/cmd_kline.h
index 6f96f80dd..de8a26779 100644
--- a/include/commands/cmd_kline.h
+++ b/include/commands/cmd_kline.h
@@ -31,7 +31,7 @@
class cmd_kline : public command_t
{
public:
- cmd_kline () : command_t("KLINE",'o',1) { }
+ cmd_kline () : command_t("KLINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_loadmodule.h b/include/commands/cmd_loadmodule.h
index bea19ae5f..0aa7d566b 100644
--- a/include/commands/cmd_loadmodule.h
+++ b/include/commands/cmd_loadmodule.h
@@ -31,7 +31,7 @@
class cmd_loadmodule : public command_t
{
public:
- cmd_loadmodule () : command_t("LOADMODULE",'o',1) { }
+ cmd_loadmodule () : command_t("LOADMODULE",'o',1) { syntax = "<modulename>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_modules.h b/include/commands/cmd_modules.h
index a1684e507..eb8b1c882 100644
--- a/include/commands/cmd_modules.h
+++ b/include/commands/cmd_modules.h
@@ -31,7 +31,7 @@
class cmd_modules : public command_t
{
public:
- cmd_modules () : command_t("MODULES",0,0) { }
+ cmd_modules () : command_t("MODULES",0,0) { syntax = "[debug]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_motd.h b/include/commands/cmd_motd.h
index ca065f97e..c3401b127 100644
--- a/include/commands/cmd_motd.h
+++ b/include/commands/cmd_motd.h
@@ -31,7 +31,7 @@
class cmd_motd : public command_t
{
public:
- cmd_motd () : command_t("MOTD",0,0) { }
+ cmd_motd () : command_t("MOTD",0,0) { syntax = "[<servername>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_names.h b/include/commands/cmd_names.h
index 7c1b126f1..fdcf2ea40 100644
--- a/include/commands/cmd_names.h
+++ b/include/commands/cmd_names.h
@@ -31,7 +31,7 @@
class cmd_names : public command_t
{
public:
- cmd_names () : command_t("NAMES",0,0) { }
+ cmd_names () : command_t("NAMES",0,0) { syntax = "{<channel>{,<channel>}}"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h
index 53f7f5a87..a90930558 100644
--- a/include/commands/cmd_nick.h
+++ b/include/commands/cmd_nick.h
@@ -31,7 +31,7 @@
class cmd_nick : public command_t
{
public:
- cmd_nick () : command_t("NICK",0,1) { }
+ cmd_nick () : command_t("NICK",0,1) { syntax = "<newnick>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_notice.h b/include/commands/cmd_notice.h
index 358e405d6..e91c65bb1 100644
--- a/include/commands/cmd_notice.h
+++ b/include/commands/cmd_notice.h
@@ -31,7 +31,7 @@
class cmd_notice : public command_t
{
public:
- cmd_notice () : command_t("NOTICE",0,2) { }
+ cmd_notice () : command_t("NOTICE",0,2) { syntax = "<target>{,<target>} <message>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h
index 8e731b579..37d449af7 100644
--- a/include/commands/cmd_oper.h
+++ b/include/commands/cmd_oper.h
@@ -33,7 +33,7 @@ bool OneOfMatches(const char* host, const char* hostlist);
class cmd_oper : public command_t
{
public:
- cmd_oper () : command_t("OPER",0,2) { }
+ cmd_oper () : command_t("OPER",0,2) { syntax = "<username> <password>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h
index e23f106fc..1aaa7bca6 100644
--- a/include/commands/cmd_part.h
+++ b/include/commands/cmd_part.h
@@ -31,7 +31,7 @@
class cmd_part : public command_t
{
public:
- cmd_part () : command_t("PART",0,1) { }
+ cmd_part () : command_t("PART",0,1) { syntax = "<channel>{,<channel>} [<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_pass.h b/include/commands/cmd_pass.h
index c79686220..f2399f57c 100644
--- a/include/commands/cmd_pass.h
+++ b/include/commands/cmd_pass.h
@@ -31,7 +31,7 @@
class cmd_pass : public command_t
{
public:
- cmd_pass () : command_t("PASS",0,1) { }
+ cmd_pass () : command_t("PASS",0,1) { syntax = "<password>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_ping.h b/include/commands/cmd_ping.h
index 8b9d88f1c..c131af628 100644
--- a/include/commands/cmd_ping.h
+++ b/include/commands/cmd_ping.h
@@ -31,7 +31,7 @@
class cmd_ping : public command_t
{
public:
- cmd_ping () : command_t("PING",0,1) { }
+ cmd_ping () : command_t("PING",0,1) { syntax = "<servername> [:<servername>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_pong.h b/include/commands/cmd_pong.h
index ec517bdad..9d2006e0f 100644
--- a/include/commands/cmd_pong.h
+++ b/include/commands/cmd_pong.h
@@ -31,7 +31,7 @@
class cmd_pong : public command_t
{
public:
- cmd_pong () : command_t("PONG",0,1) { }
+ cmd_pong () : command_t("PONG",0,1) { syntax = "<ping-text>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_privmsg.h b/include/commands/cmd_privmsg.h
index a35a5cdec..12b11cb22 100644
--- a/include/commands/cmd_privmsg.h
+++ b/include/commands/cmd_privmsg.h
@@ -31,7 +31,7 @@
class cmd_privmsg : public command_t
{
public:
- cmd_privmsg () : command_t("PRIVMSG",0,2) { }
+ cmd_privmsg () : command_t("PRIVMSG",0,2) { syntax = "<target>{,<target>} <message>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_qline.h b/include/commands/cmd_qline.h
index f563b9cbb..65232ee28 100644
--- a/include/commands/cmd_qline.h
+++ b/include/commands/cmd_qline.h
@@ -31,7 +31,7 @@
class cmd_qline : public command_t
{
public:
- cmd_qline () : command_t("QLINE",'o',1) { }
+ cmd_qline () : command_t("QLINE",'o',1) { syntax = "<nick> [<duration> :<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h
index 5229aaa50..891b2f0a3 100644
--- a/include/commands/cmd_quit.h
+++ b/include/commands/cmd_quit.h
@@ -31,7 +31,7 @@
class cmd_quit : public command_t
{
public:
- cmd_quit () : command_t("QUIT",0,0) { }
+ cmd_quit () : command_t("QUIT",0,0) { syntax = "[<message>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_rehash.h b/include/commands/cmd_rehash.h
index e98eed301..f9690a3ee 100644
--- a/include/commands/cmd_rehash.h
+++ b/include/commands/cmd_rehash.h
@@ -31,7 +31,7 @@
class cmd_rehash : public command_t
{
public:
- cmd_rehash () : command_t("REHASH",'o',0) { }
+ cmd_rehash () : command_t("REHASH",'o',0) { syntax = "[<servermask>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_restart.h b/include/commands/cmd_restart.h
index e77476919..394cf0df2 100644
--- a/include/commands/cmd_restart.h
+++ b/include/commands/cmd_restart.h
@@ -31,7 +31,7 @@
class cmd_restart : public command_t
{
public:
- cmd_restart () : command_t("RESTART",'o',1) { }
+ cmd_restart () : command_t("RESTART",'o',1) { syntax = "<password>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_rules.h b/include/commands/cmd_rules.h
index 60567e24d..36ccda645 100644
--- a/include/commands/cmd_rules.h
+++ b/include/commands/cmd_rules.h
@@ -31,7 +31,7 @@
class cmd_rules : public command_t
{
public:
- cmd_rules () : command_t("RULES",0,0) { }
+ cmd_rules () : command_t("RULES",0,0) { syntax = "[<servername>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_squit.h b/include/commands/cmd_squit.h
index e8a63b452..d22ee9264 100644
--- a/include/commands/cmd_squit.h
+++ b/include/commands/cmd_squit.h
@@ -31,7 +31,7 @@
class cmd_squit : public command_t
{
public:
- cmd_squit () : command_t("SQUIT",'o',1) { }
+ cmd_squit () : command_t("SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_stats.h b/include/commands/cmd_stats.h
index eeb3a0013..1c54944c0 100644
--- a/include/commands/cmd_stats.h
+++ b/include/commands/cmd_stats.h
@@ -31,7 +31,7 @@
class cmd_stats : public command_t
{
public:
- cmd_stats () : command_t("STATS",0,1) { }
+ cmd_stats () : command_t("STATS",0,1) { syntax = "[<servername>] <stats-symbol>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_time.h b/include/commands/cmd_time.h
index 2c4f55ba0..9a3dd0c32 100644
--- a/include/commands/cmd_time.h
+++ b/include/commands/cmd_time.h
@@ -31,7 +31,7 @@
class cmd_time : public command_t
{
public:
- cmd_time () : command_t("TIME",0,0) { }
+ cmd_time () : command_t("TIME",0,0) { syntax = "[<servername>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_topic.h b/include/commands/cmd_topic.h
index e0cd7e3de..2b6348803 100644
--- a/include/commands/cmd_topic.h
+++ b/include/commands/cmd_topic.h
@@ -31,7 +31,7 @@
class cmd_topic : public command_t
{
public:
- cmd_topic () : command_t("TOPIC",0,1) { }
+ cmd_topic () : command_t("TOPIC",0,1) { syntax = "<channel> [<topic>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_trace.h b/include/commands/cmd_trace.h
index 50669498a..44f308012 100644
--- a/include/commands/cmd_trace.h
+++ b/include/commands/cmd_trace.h
@@ -31,7 +31,7 @@
class cmd_trace : public command_t
{
public:
- cmd_trace () : command_t("TRACE",'o',0) { }
+ cmd_trace () : command_t("TRACE",'o',0) { syntax = "[<object>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_unloadmodule.h b/include/commands/cmd_unloadmodule.h
index 1eef989b1..05c5c32d6 100644
--- a/include/commands/cmd_unloadmodule.h
+++ b/include/commands/cmd_unloadmodule.h
@@ -31,7 +31,7 @@
class cmd_unloadmodule : public command_t
{
public:
- cmd_unloadmodule () : command_t("UNLOADMODULE",'o',1) { }
+ cmd_unloadmodule () : command_t("UNLOADMODULE",'o',1) { syntax = "<modulename>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h
index 59a8f4c35..b8e3201c1 100644
--- a/include/commands/cmd_user.h
+++ b/include/commands/cmd_user.h
@@ -31,7 +31,7 @@
class cmd_user : public command_t
{
public:
- cmd_user () : command_t("USER",0,4) { }
+ cmd_user () : command_t("USER",0,4) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_userhost.h b/include/commands/cmd_userhost.h
index 8fd75e63d..e50813b4e 100644
--- a/include/commands/cmd_userhost.h
+++ b/include/commands/cmd_userhost.h
@@ -31,7 +31,7 @@
class cmd_userhost : public command_t
{
public:
- cmd_userhost () : command_t("USERHOST",0,1) { }
+ cmd_userhost () : command_t("USERHOST",0,1) { syntax = "<nick>{,<nick>}"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_version.h b/include/commands/cmd_version.h
index e80dc3565..55b643f6e 100644
--- a/include/commands/cmd_version.h
+++ b/include/commands/cmd_version.h
@@ -31,7 +31,7 @@
class cmd_version : public command_t
{
public:
- cmd_version () : command_t("VERSION",0,0) { }
+ cmd_version () : command_t("VERSION",0,0) { syntax = "[<servername>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_wallops.h b/include/commands/cmd_wallops.h
index 3f98aa02d..b8a4f690a 100644
--- a/include/commands/cmd_wallops.h
+++ b/include/commands/cmd_wallops.h
@@ -31,7 +31,7 @@
class cmd_wallops : public command_t
{
public:
- cmd_wallops () : command_t("WALLOPS",'o',1) { }
+ cmd_wallops () : command_t("WALLOPS",'o',1) { syntax = "<any-text>"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index cbf59ad37..c88233b1d 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -31,7 +31,7 @@
class cmd_who : public command_t
{
public:
- cmd_who () : command_t("WHO",0,1) { }
+ cmd_who () : command_t("WHO",0,1) { syntax = "<server>|<nickname>|<channel> [O|o]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h
index b129b3480..0daa1144c 100644
--- a/include/commands/cmd_whois.h
+++ b/include/commands/cmd_whois.h
@@ -33,7 +33,7 @@ void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long i
class cmd_whois : public command_t
{
public:
- cmd_whois () : command_t("WHOIS",0,1) { }
+ cmd_whois () : command_t("WHOIS",0,1) { syntax = "<nick>{,<nick>}"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index 50838b17c..6ef30324f 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -31,7 +31,7 @@
class cmd_whowas : public command_t
{
public:
- cmd_whowas () : command_t("WHOWAS",0,1) { }
+ cmd_whowas () : command_t("WHOWAS",0,1) { syntax = "<nick>{,<nick>}"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_zline.h b/include/commands/cmd_zline.h
index 3ab32e080..d27defa0f 100644
--- a/include/commands/cmd_zline.h
+++ b/include/commands/cmd_zline.h
@@ -31,7 +31,7 @@
class cmd_zline : public command_t
{
public:
- cmd_zline () : command_t("ZLINE",'o',1) { }
+ cmd_zline () : command_t("ZLINE",'o',1) { syntax = "<ipmask> [<duration> :<reason>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};