Unverified Commit 02756674 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #851 from racke/pr/quiet-import by racke

Prevent welcome emails on import with --quiet.
parents 20b6ed01 9f0d17e8
...@@ -513,6 +513,7 @@ if ($main::options{'dump'} or $main::options{'dump_users'}) { ...@@ -513,6 +513,7 @@ if ($main::options{'dump'} or $main::options{'dump_users'}) {
force => 1, force => 1,
sender => Sympa::get_address($list, 'listmaster'), sender => Sympa::get_address($list, 'listmaster'),
scenario_context => {skip => 1}, scenario_context => {skip => 1},
quiet => $main::options{quiet},
); );
unless ($spindle and $spindle->spin) { unless ($spindle and $spindle->spin) {
printf STDERR "Failed to add email addresses to %s\n", $list; printf STDERR "Failed to add email addresses to %s\n", $list;
...@@ -1874,6 +1875,8 @@ The imported data should contain one entry per line : the first field ...@@ -1874,6 +1875,8 @@ The imported data should contain one entry per line : the first field
is an email address, the second (optional) field is the free form name. is an email address, the second (optional) field is the free form name.
Fields are spaces-separated. Fields are spaces-separated.
Use C<--quiet> to prevent welcome emails.
Sample: Sample:
## Data to be imported ## Data to be imported
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment