We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5affa498 authored by Brion Vibber's avatar Brion Vibber

Tweak updateavatarurl.php: emit a newline whether we're on verbose or...

Tweak updateavatarurl.php: emit a newline whether we're on verbose or non-quiet, emit help when no users specified.
parent 66bfb2f0
......@@ -60,7 +60,8 @@ try {
}
}
} else {
throw new Exception("You have to provide an ID or nickname or 'all'.");
show_help();
exit(1);
}
} catch (Exception $e) {
print $e->getMessage()."\n";
......@@ -123,6 +124,9 @@ function updateAvatars($user)
}
if (have_option('v', 'verbose')) {
print "DONE.\n";
print "DONE.";
}
if (!have_option('q', 'quiet') || have_option('v', 'verbose')) {
print "\n";
}
}
Markdown is supported
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