mirror of https://github.com/aria2/aria2
2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Disabled --dry-run in multi-file download for now. * src/RequestGroup.ccpull/1/head
parent
a27968beda
commit
2c3411f709
|
@ -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>
|
2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Fixed the bug that a file gets overwritten if -V is given and no
|
Fixed the bug that a file gets overwritten if -V is given and no
|
||||||
|
|
|
@ -497,7 +497,11 @@ void RequestGroup::createInitialCommand
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} 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?
|
// TODO file size is known in this context?
|
||||||
|
|
||||||
// In this context, multiple FileEntry objects are in
|
// In this context, multiple FileEntry objects are in
|
||||||
|
|
Loading…
Reference in New Issue