summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_withlist.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-01-07 13:47:51 -0500
committerBarry Warsaw2012-01-07 13:47:51 -0500
commit7a1c7652519841522246278daa3cbc121ded133c (patch)
tree6882f9182116c33c4bb09a18a72ac77ba519f316 /src/mailman/commands/cli_withlist.py
parent7d8f1cab00e4bceeb567bc9825b01caf72164b5d (diff)
parent0ff2f2e1aee0945b50e9c76f462cd376b6985818 (diff)
downloadmailman-7a1c7652519841522246278daa3cbc121ded133c.tar.gz
mailman-7a1c7652519841522246278daa3cbc121ded133c.tar.zst
mailman-7a1c7652519841522246278daa3cbc121ded133c.zip
Diffstat (limited to 'src/mailman/commands/cli_withlist.py')
-rw-r--r--src/mailman/commands/cli_withlist.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mailman/commands/cli_withlist.py b/src/mailman/commands/cli_withlist.py
index 1b5cab336..61e1bec7c 100644
--- a/src/mailman/commands/cli_withlist.py
+++ b/src/mailman/commands/cli_withlist.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2011 by the Free Software Foundation, Inc.
+# Copyright (C) 2009-2012 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
@@ -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'