From 8843e89e9ff1e5e6a5171ae8b2116a1a08558054 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 9 Nov 2025 12:35:25 +0000 Subject: [PATCH] Fix some missing documentation. --- language/anope.en_US.po | 10 +++++----- modules/nickserv/ns_list.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/language/anope.en_US.po b/language/anope.en_US.po index e36583fe3..16a014b89 100644 --- a/language/anope.en_US.po +++ b/language/anope.en_US.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Anope\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-21 11:13+0100\n" -"PO-Revision-Date: 2025-10-21 11:13+0100\n" +"POT-Creation-Date: 2025-11-09 12:40+0000\n" +"PO-Revision-Date: 2025-11-09 12:40+0000\n" "Last-Translator: Sadie Powell \n" "Language-Team: English\n" "Language: en_US\n" @@ -699,10 +699,10 @@ msgstr "" msgid "password email" msgstr "" -msgid "pattern [SUSPENDED] [NOEXPIRE]" +msgid "pattern [DISPLAY] [NOEXPIRE] [SUSPENDED] [UNCONFIRMED]" msgstr "" -msgid "pattern [SUSPENDED] [NOEXPIRE] [UNCONFIRMED]" +msgid "pattern [SUSPENDED] [NOEXPIRE]" msgstr "" msgid "server [message]" @@ -3381,7 +3381,7 @@ msgid "" "\n" "Note that a preceding '#' specifies a range.\n" "\n" -"If the SUSPENDED, UNCONFIRMED or NOEXPIRE options are given, only nicks which, respectively, are SUSPENDED, UNCONFIRMED or have the NOEXPIRE flag set will be displayed. If multiple options are given, all nicks matching at least one option will be displayed. Note that these options are limited to Services Operators.\n" +"If the DISPLAY, NOEXPIRE, SUSPENDED, or UNCONFIRMED options are given only nicks which, respectively, are display nicks, will not expire, are suspended, or are unconfirmed will be shown. If multiple options are given, nicks must match every option to be shown. Note that these options are limited to Services Operators.\n" "\n" "Examples:\n" "\n" diff --git a/modules/nickserv/ns_list.cpp b/modules/nickserv/ns_list.cpp index 4bb0e461d..2df6c314d 100644 --- a/modules/nickserv/ns_list.cpp +++ b/modules/nickserv/ns_list.cpp @@ -18,7 +18,7 @@ public: CommandNSList(Module *creator) : Command(creator, "nickserv/list", 1, 2) { this->SetDesc(_("List all registered nicknames that match a given pattern")); - this->SetSyntax(_("\037pattern\037 [SUSPENDED] [NOEXPIRE] [UNCONFIRMED]")); + this->SetSyntax(_("\037pattern\037 [DISPLAY] [NOEXPIRE] [SUSPENDED] [UNCONFIRMED]")); } void Execute(CommandSource &source, const std::vector ¶ms) override @@ -139,10 +139,10 @@ public: "\n\n" "Note that a preceding '#' specifies a range." "\n\n" - "If the SUSPENDED, UNCONFIRMED or NOEXPIRE options are given, only " - "nicks which, respectively, are SUSPENDED, UNCONFIRMED or have the " - "NOEXPIRE flag set will be displayed. If multiple options are " - "given, all nicks matching at least one option will be displayed. " + "If the DISPLAY, NOEXPIRE, SUSPENDED, or UNCONFIRMED options are given " + "only nicks which, respectively, are display nicks, will not expire, are " + "suspended, or are unconfirmed will be shown. If multiple options are " + "given, nicks must match every option to be shown. " "Note that these options are limited to \037Services Operators\037." "\n\n" "Examples:"