2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Disabled --dry-run in multi-file download for now.
	* src/RequestGroup.cc
pull/1/head
Tatsuhiro Tsujikawa 2010-09-15 12:15:54 +00:00
parent a27968beda
commit 2c3411f709
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Disabled --dry-run in multi-file download for now.
* src/RequestGroup.cc
2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that a file gets overwritten if -V is given and no

View File

@ -497,7 +497,11 @@ void RequestGroup::createInitialCommand
}
}
} else {
// TODO dry-run mode?
// TODO --dry-run is not supported for multifile download for now.
if(option_->getAsBool(PREF_DRY_RUN)) {
throw DOWNLOAD_FAILURE_EXCEPTION
("--dry-run in multi-file download is not supported yet.");
}
// TODO file size is known in this context?
// In this context, multiple FileEntry objects are in