Fix some arguments default/required
This commit is contained in:
parent
0ae6e0c461
commit
2b4d1acf52
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user