update the command help message

This commit is contained in:
Gunter Labes 2008-09-02 09:16:17 +00:00
parent f0bc7fd585
commit c182bda3fe

View file

@ -896,8 +896,8 @@ std::string server::process_command(const std::string& query, const std::string&
const std::string command(query.begin(),i);
std::string parameters = (i == query.end() ? "" : std::string(i+1,query.end()));
utils::strip(parameters);
const std::string& help_msg = "Available commands are: ban(s) [<mask>] [<reason>],"
"kick <mask>, k(ick)ban [<mask>] [<reason>], help, metrics, netstats,"
const std::string& help_msg = "Available commands are: ban(s) [<mask>] [<time>] <reason>,"
"kick <mask>, k(ick)ban [<mask>] [<time>] <reason>, help, metrics, netstats,"
" (lobby)msg <message>, motd [<message>], status [<mask>],"
" unban <ipmask>, shut_down [now], restart";
if (command == "shut_down") {