summaryrefslogtreecommitdiff
path: root/Mailman/Commands/cmd_help.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Commands/cmd_help.py')
-rw-r--r--Mailman/Commands/cmd_help.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/Mailman/Commands/cmd_help.py b/Mailman/Commands/cmd_help.py
index 5f5b5c579..97af851c9 100644
--- a/Mailman/Commands/cmd_help.py
+++ b/Mailman/Commands/cmd_help.py
@@ -38,6 +38,18 @@ def gethelp(mlist):
def process(res, args):
# Get the help text introduction
mlist = res.mlist
+ # Since this message is personalized, add some useful information if the
+ # address requesting help is a member of the list.
+ msg = res.msg
+ for sender in msg.get_senders():
+ if mlist.isMember(sender):
+ memberurl = mlist.GetOptionsURL(sender, absolute=1)
+ urlhelp = _(
+ 'You can access your personal options via the following url:')
+ res.results.append(urlhelp)
+ res.results.append(memberurl)
+ res.results.append('')
+ break
# build the specific command helps from the module docstrings
modhelps = {}
import Mailman.Commands