MDL-51632 tool_generator: Print URL of the generated course

This commit is contained in:
Mark Nielsen 2015-10-01 11:03:12 -07:00
parent fd57d685c7
commit aff1db055f

View File

@ -113,3 +113,7 @@ $backend = new tool_generator_course_backend(
FORMAT_HTML
);
$id = $backend->make();
if (empty($options['quiet'])) {
echo PHP_EOL.'Generated course: '.course_get_url($id).PHP_EOL;
}