mirror of https://github.com/aria2/aria2
Log number of items loaded from input file
parent
1ab2b99692
commit
b6d9e7a01f
|
@ -305,6 +305,10 @@ Context::Context(bool standalone, int argc, char** argv, const KeyVals& options)
|
||||||
global::cout()->printf("%s\n", MSG_NO_FILES_TO_DOWNLOAD);
|
global::cout()->printf("%s\n", MSG_NO_FILES_TO_DOWNLOAD);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (!requestGroups.empty()) {
|
||||||
|
A2_LOG_NOTICE(fmt("Downloading %" PRId64 " items",
|
||||||
|
static_cast<uint64_t>(requestGroups.size())));
|
||||||
|
}
|
||||||
reqinfo = std::make_shared<MultiUrlRequestInfo>(std::move(requestGroups),
|
reqinfo = std::make_shared<MultiUrlRequestInfo>(std::move(requestGroups),
|
||||||
op, uriListParser);
|
op, uriListParser);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue