diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2011-09-15 19:12:04 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2011-09-15 19:12:04 +0200 |
commit | 18bb3d1e3595f61b16228dc8a03108789ce8b7b1 (patch) | |
tree | 4d97ecda8f53c84a9fb78fd60cb6bfba8adeb14c | |
parent | 10e7194db16c769cd8da98a8d541f7f5452afe84 (diff) |
Make --continue the default and provide --no-continue (Closes #119)
-rwxr-xr-x | youtube-dl | 5 |
1 files changed, 4 insertions, 1 deletions
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', |