summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2016-07-18 23:49:32 +0200
committerNils Maier <maierman@web.de>2016-07-19 20:55:41 +0200
commitb6d9e7a01fb7f82fb52448e2cf9f6f6c6c25f8ad (patch)
treed8a595099188f4947337c960e1c802a3227d5bfb
parent1ab2b9969255d3bda778e88811cc8dc86ae403a2 (diff)
Log number of items loaded from input file
-rw-r--r--src/Context.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Context.cc b/src/Context.cc
index f1c89007..d8f7e703 100644
--- a/src/Context.cc
+++ b/src/Context.cc
@@ -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);
}
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),
op, uriListParser);
}