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.