Set continue to false again; we need to send to actually send a HEAD request to determine whether we can continue or not

pull/8/head
Philipp Hagemeister 13 years ago
parent cc025e1226
commit c25303c3d5

@ -3569,7 +3569,7 @@ def parseOpts():
filesystem.add_option('-w', '--no-overwrites', filesystem.add_option('-w', '--no-overwrites',
action='store_true', dest='nooverwrites', help='do not overwrite files', default=False) action='store_true', dest='nooverwrites', help='do not overwrite files', default=False)
filesystem.add_option('-c', '--continue', filesystem.add_option('-c', '--continue',
action='store_true', dest='continue_dl', help='resume partially downloaded files', default=True) action='store_true', dest='continue_dl', help='resume partially downloaded files', default=False)
filesystem.add_option('--no-continue', filesystem.add_option('--no-continue',
action='store_false', dest='continue_dl', action='store_false', dest='continue_dl',
help='do not resume partially downloaded files (restart from beginning)') help='do not resume partially downloaded files (restart from beginning)')

Loading…
Cancel
Save