aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-01 23:41:23 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-01 23:41:23 +0600
commit90f794c6c3ec685ad1ec3b92fba3fc0be6322c10 (patch)
tree3cc7721872f744212d04348144613d3c47f6a6ab /youtube_dl/options.py
parent66ca2cfddd840e775f0b810c393a91c55a135c20 (diff)
[options] Add --no-mark-watched (#5054)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py
index 048dee881..9dd7a8034 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -175,6 +175,10 @@ def parseOpts(overrideArguments=None):
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',
default=False,