diff options
| author | Barry Warsaw | 2016-03-22 10:35:14 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-03-22 10:35:14 -0400 |
| commit | 8d43e8f7848e080c588540fe2aecf481f167d5b2 (patch) | |
| tree | 223fffafc2e374b5aacfc406ffcc958343d8804d /src/mailman/commands/cli_lists.py | |
| parent | 75941917d8c57b41e2583079f22863326ebf9920 (diff) | |
| download | mailman-8d43e8f7848e080c588540fe2aecf481f167d5b2.tar.gz mailman-8d43e8f7848e080c588540fe2aecf481f167d5b2.tar.zst mailman-8d43e8f7848e080c588540fe2aecf481f167d5b2.zip | |
Diffstat (limited to 'src/mailman/commands/cli_lists.py')
| -rw-r--r-- | src/mailman/commands/cli_lists.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py index 035dce898..3f31fda76 100644 --- a/src/mailman/commands/cli_lists.py +++ b/src/mailman/commands/cli_lists.py @@ -156,17 +156,19 @@ class Create: domain_options = command_parser.add_mutually_exclusive_group() domain_options.add_argument( '-d', '--domain', + dest='domain', default=True, action='store_true', help=_("""\ - Register the mailing list's domain if not yet registered."""), - dest='domain') + Register the mailing list's domain if not yet registered. This is + the default behavior, but these options are provided for backward + compatibility.""")) domain_options.add_argument( '-D', '--no-domain', + dest='domain', default=False, action='store_false', help=_("""\ - Do not register the mailing list's domain if not already registered."""), - dest='domain') - + Do not register the mailing list's domain if not already + registered.""")) # Required positional argument. command_parser.add_argument( 'listname', metavar='LISTNAME', nargs=1, |
