From: Philipp Hagemeister Date: Thu, 15 Sep 2011 17:12:04 +0000 (+0200) Subject: Make --continue the default and provide --no-continue (Closes #119) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=18bb3d1e3595f61b16228dc8a03108789ce8b7b1;p=youtube-dl Make --continue the default and provide --no-continue (Closes #119) --- diff --git a/youtube-dl b/youtube-dl index e304df557..624df4bea 100755 --- a/youtube-dl +++ b/youtube-dl @@ -3568,7 +3568,10 @@ def parseOpts(): filesystem.add_option('-w', '--no-overwrites', action='store_true', dest='nooverwrites', help='do not overwrite files', default=False) filesystem.add_option('-c', '--continue', - action='store_true', dest='continue_dl', help='resume partially downloaded files', default=False) + action='store_true', dest='continue_dl', help='resume partially downloaded files', default=True) + filesystem.add_option('--no-continue', + action='store_false', dest='continue_dl', + help='do not resume partially downloaded files (restart from beginning)') filesystem.add_option('--cookies', dest='cookiefile', metavar='FILE', help='file to dump cookie jar to') filesystem.add_option('--no-part',