diff options
author | Robby- <robby@chat.be> | 2013-02-02 07:30:53 +0100 |
---|---|---|
committer | Robby- <robby@chat.be> | 2013-02-02 07:30:53 +0100 |
commit | 15b37c1e38b20a3f6244af179dfdb395ee929800 (patch) | |
tree | 5ce51a5ecb759c472d3f44a322e9fb61a2bbd7ab /modules/commands/hs_list.cpp | |
parent | dccb0ee3138359559d3a984d4708b53154aa7082 (diff) |
Some more typo and help text fixes, proper formatting of control codes, missing privileges, and settings corrections.
Diffstat (limited to 'modules/commands/hs_list.cpp')
-rw-r--r-- | modules/commands/hs_list.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/commands/hs_list.cpp b/modules/commands/hs_list.cpp index 371f664bd..96e6866f0 100644 --- a/modules/commands/hs_list.cpp +++ b/modules/commands/hs_list.cpp @@ -18,8 +18,8 @@ class CommandHSList : public Command public: CommandHSList(Module *creator) : Command(creator, "hostserv/list", 0, 1) { - this->SetDesc(_("Displays one or more vhost entries.")); - this->SetSyntax(_("\002[<key>|<#X-Y>]")); + this->SetDesc(_("Displays one or more vhost entries")); + this->SetSyntax(_("[\037key\037|\037#X-Y\037]")); } void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override @@ -115,13 +115,13 @@ class CommandHSList : public Command } if (!key.empty()) - source.Reply(_("Displayed records matching key \002%s\002 (Count: \002%d\002)"), key.c_str(), display_counter); + source.Reply(_("Displayed records matching key \002%s\002 (count: \002%d\002)."), key.c_str(), display_counter); else { if (from) - source.Reply(_("Displayed records from \002%d\002 to \002%d\002"), from, to); + source.Reply(_("Displayed records from \002%d\002 to \002%d\002."), from, to); else - source.Reply(_("Displayed all records (Count: \002%d\002)"), display_counter); + source.Reply(_("Displayed all records (count: \002%d\002)."), display_counter); } std::vector<Anope::string> replies; @@ -136,14 +136,14 @@ class CommandHSList : public Command this->SendSyntax(source); source.Reply(" "); source.Reply(_("This command lists registered vhosts to the operator\n" - "if a Key is specified, only entries whos nick or vhost match\n" - "the pattern given in <key> are displayed e.g. Rob* for all\n" + "if a \037key\037 is specified, only entries whos nick or vhost match\n" + "the pattern given in \037key\037 are displayed e.g. Rob* for all\n" "entries beginning with \"Rob\"\n" - "If a #X-Y style is used, only entries between the range of X\n" - "and Y will be displayed, e.g. #1-3 will display the first 3\n" + "If a \037#X-Y\037 style is used, only entries between the range of \002X\002\n" + "and \002Y\002 will be displayed, e.g. \002#1-3\002 will display the first 3\n" "nick/vhost entries.\n" "The list uses the value of NSListMax as a hard limit for the\n" - "number of items to display to a operator at any 1 time.")); + "number of items to display to a operator at any one time.")); return true; } }; |