Print "No files to download" message as a log notice

Allow --quiet to suppress this message, which is useful for scripted
usage.
pull/1180/head
Vladimir Panteleev 2018-04-22 08:37:44 +00:00
parent 431fcde29a
commit 732ffdccc8
No known key found for this signature in database
GPG Key ID: 5004F0FAD051576D
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ Context::Context(bool standalone, int argc, char** argv, const KeyVals& options)
if (standalone && !op->getAsBool(PREF_ENABLE_RPC) && requestGroups.empty() &&
!uriListParser) {
global::cout()->printf("%s\n", MSG_NO_FILES_TO_DOWNLOAD);
A2_LOG_NOTICE(MSG_NO_FILES_TO_DOWNLOAD);
}
else {
if (!requestGroups.empty()) {