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

Merge pull request #787 from racke/topic/cli-sync-include by racke

Various improvements to --sync-include output
parents c319e761 e3ee3668
......@@ -885,12 +885,18 @@ if ($main::options{'dump'} or $main::options{'dump_users'}) {
exit 1;
unless ($list->has_include_data_sources) {
printf STDERR "No data sources defined for inclusion into list %s.\n",
exit 1;
unless (defined $list->sync_include()) {
print STDERR "Failed to synchronize list members\n";
exit 1;
printf "Members of list %s have been successfully update.\n",
printf "Members of list %s have been successfully updated.\n",
exit 0;
## Migration from one version to another
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