summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mailman/commands/cli_withlist.py8
-rw-r--r--src/mailman/docs/NEWS.rst4
2 files changed, 12 insertions, 0 deletions
diff --git a/src/mailman/commands/cli_withlist.py b/src/mailman/commands/cli_withlist.py
index 1b5cab336..f7ade0485 100644
--- a/src/mailman/commands/cli_withlist.py
+++ b/src/mailman/commands/cli_withlist.py
@@ -21,6 +21,7 @@ from __future__ import absolute_import, unicode_literals
__metaclass__ = type
__all__ = [
+ 'Shell',
'Withlist',
]
@@ -212,3 +213,10 @@ mailing list. You could put the following function in a file called
and run this from the command line:
% bin/mailman withlist -r change mylist@example.com 'My List'""")
+
+
+
+class Shell(Withlist):
+ """An alias for `withlist`."""
+
+ name = 'shell'
diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst
index ae9f502ec..c1553fd66 100644
--- a/src/mailman/docs/NEWS.rst
+++ b/src/mailman/docs/NEWS.rst
@@ -21,6 +21,10 @@ Architecture
* Dynamically calculate the `List-Id` header instead of storing it in the
database. This means it cannot be changed.
+Commands
+--------
+ * `bin/mailman shell` is an alias for `withlist`.
+
Bug fixes
---------
* Fixed KeyError in retry runner, contributed by Stephen A. Goss.