aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorSergey M <dstftw@gmail.com>2016-03-01 23:00:51 +0600
committerSergey M <dstftw@gmail.com>2016-03-01 23:00:51 +0600
commit269dd2c6a789802b3578fabd54e1e7cc5732f551 (patch)
treef3848bdfb53368598da56b0a573b306b849b1bf6 /youtube_dl/options.py
parente7998f59aa2e204ddfef2f0eea38df1075ec0191 (diff)
parentd77ab8e255e593d8534bdd47e84c0cc03c4e6efd (diff)
Merge pull request #8703 from dstftw/mark-watched
Add --mark-watched feature (Closes #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 3afa8bb6f..048dee881 100644
--- a/youtube_dl/options.py
+++ b/youtube_dl/options.py
@@ -171,6 +171,10 @@ def parseOpts(overrideArguments=None):
default=False,
help='Do not extract the videos of a playlist, only list them.')
general.add_option(
+ '--mark-watched',
+ action='store_true', dest='mark_watched', default=False,
+ help='Mark videos watched (YouTube only)')
+ general.add_option(
'--no-color', '--no-colors',
action='store_true', dest='no_color',
default=False,