Changing display name with "mailman withlist"
Hello,
I am looking for a way to change the display name of a mailing list on command line.
As written in "mailman withlist --details" I have created a script named "change.py".
When executing the script as written in the manual, I get the following error:
(venv-3.5) [root@localhost mailman]# mailman withlist -r change example@example.org 'new display name' usage: mailman [-h] [-v] [-C CONFIG] {help,aliases,conf,create,digests,import21,info,inject,lists,members,qfile,remove,reopen,restart,shell,start,status,stop,unshunt,version,withlist} ... mailman: error: unrecognized arguments: new display name
According to the manual it should be possible to pass arguments in withlist: mailman withlist [options] listname [args ...] while " mailman withlist -h" says: usage: mailman withlist [-h] [-i] [-r RUN] [--details] [LISTNAME]
Mailman version: GNU Mailman 3.2.0a1 (La Villa Strangiato)
Btw. I know that there is an interactive shell to execute the script but I need a solution that can be run in a shell script.
Thank you.
On 7/5/17 12:29 AM, Mark Ziranski wrote:
When executing the script as written in the manual, I get the following error:
(venv-3.5) [root@localhost mailman]# mailman withlist -r change example@example.org 'new display name' usage: mailman [-h] [-v] [-C CONFIG] {help,aliases,conf,create,digests,import21,info,inject,lists,members,qfile,remove,reopen,restart,shell,start,status,stop,unshunt,version,withlist} ... mailman: error: unrecognized arguments: new display name
This is a known bug <https://gitlab.com/mailman/mailman/issues/319>. I will work on a fix.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Mark Ziranski