diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-03-01 01:01:33 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-03-01 01:01:33 +0600 |
commit | d77ab8e255e593d8534bdd47e84c0cc03c4e6efd (patch) | |
tree | ff6952244d0777d40a03b84a217ee14866f62964 /youtube_dl/options.py | |
parent | 4b3cd7316cbb95100f7fc4dd03d86e0fd7674996 (diff) |
Add --mark-watched feature (Closes #5054)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r-- | youtube_dl/options.py | 4 |
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, |