Skip to content

A feature-rich command-line audio/video downloader

[options] Add --no-mark-watched (#5054)

Sergey M․90f794c6c3ec
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 048dee8816..9dd7a80346 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -174,6 +174,10 @@ def parseOpts(overrideArguments=None):
'--mark-watched',
action='store_true', dest='mark_watched', default=False,
help='Mark videos watched (YouTube only)')
+ general.add_option(
+ '--no-mark-watched',
+ action='store_false', dest='mark_watched', default=False,
+ help='Do not mark videos watched (YouTube only)')
general.add_option(
'--no-color', '--no-colors',
action='store_true', dest='no_color',