Fix some arguments default/required

This commit is contained in:
Adam Goldsmith 2023-01-19 18:05:29 -05:00
parent 0ae6e0c461
commit 2b4d1acf52

View File

@ -176,10 +176,14 @@ def parse_arguments():
help="Path to Mailman site admin scripts (default %(default)s)", help="Path to Mailman site admin scripts (default %(default)s)",
) )
argp.add_argument("--api", required=True, help="API endpoint to retrieve JSON from") argp.add_argument("--api", required=True, help="API endpoint to retrieve JSON from")
argp.add_argument("--list-suffix", help="Suffix for mailing lists") argp.add_argument("--list-suffix", help="Suffix for mailing lists", default="")
argp.add_argument("--urlhost", help="Urlhost to use when creating new lists")
argp.add_argument( argp.add_argument(
"--admin", help="Admin email address to use when creating new lists" "--urlhost", help="Urlhost to use when creating new lists", required=True
)
argp.add_argument(
"--admin",
help="Admin email address to use when creating new lists",
required=True,
) )
argp.add_argument( argp.add_argument(
"-n", "-n",