Skip to content

A feature-rich command-line audio/video downloader

[options] Move --abort-on-unavailable-fragment to download section

Sergey M․732fb3f8be6c
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 0d2ce8d150..5e29365559 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')