diff options
| -rw-r--r-- | Mailman/MailCommandHandler.py | 2 | ||||
| -rw-r--r-- | templates/help.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index 839387fe6..4459b36d4 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.py @@ -136,7 +136,7 @@ class MailCommandHandler: args = string.split(line) cmd = string.lower(args[0]) args = args[1:] - if cmd == 'end': + if cmd in ['end', '--']: self.AddError("End of commands.") break if not self._cmd_dispatch.has_key(cmd): diff --git a/templates/help.txt b/templates/help.txt index 7c6843a9b..10ef35991 100644 --- a/templates/help.txt +++ b/templates/help.txt @@ -86,7 +86,7 @@ The following commands are valid: password <oldpassword> <newpassword> Change your list password. - end + end or -- Stop processing commands (good to do if your mailer automatically adds a signature file - it'll save you from a lot of cruft). |
