From b6d9e7a01fb7f82fb52448e2cf9f6f6c6c25f8ad Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Mon, 18 Jul 2016 23:49:32 +0200 Subject: [PATCH] Log number of items loaded from input file --- src/Context.cc | 4 ++++ 1 file changed, 4 insertions(+) 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(requestGroups.size()))); + } reqinfo = std::make_shared(std::move(requestGroups), op, uriListParser); }