summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2011-11-13 07:57:15 -0500
committerBarry Warsaw2011-11-13 07:57:15 -0500
commitd1352a018ccc979303fee1d67dca8ee6a588ec69 (patch)
treeee2f668e08544b04b3b8fec73943dc90ba80447c /src
parentac49e4c485345058d2ee582b9966f441b2349738 (diff)
downloadmailman-d1352a018ccc979303fee1d67dca8ee6a588ec69.tar.gz
mailman-d1352a018ccc979303fee1d67dca8ee6a588ec69.tar.zst
mailman-d1352a018ccc979303fee1d67dca8ee6a588ec69.zip
Diffstat (limited to 'src')
-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.