mirror of https://github.com/aria2/aria2
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
parent
431fcde29a
commit
732ffdccc8
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue