aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 0d2ce8d15..5e2936555 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -450,7 +450,7 @@ def parseOpts(overrideArguments=None):
'--skip-unavailable-fragments',
action='store_true', dest='skip_unavailable_fragments', default=True,
help='Skip unavailable fragments (DASH and hlsnative only)')
- general.add_option(
+ downloader.add_option(
'--abort-on-unavailable-fragment',
action='store_false', dest='skip_unavailable_fragments',
help='Abort downloading when some fragment is not available')