[options] Add --no-mark-watched (#5054)
authorSergey M․ <dstftw@gmail.com>
Tue, 1 Mar 2016 17:41:23 +0000 (23:41 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 1 Mar 2016 17:41:23 +0000 (23:41 +0600)
youtube_dl/options.py

index 048dee88162a386dc7ac3466c530a50cf7acb379..9dd7a80346c2704c91cbaccb17096ac24a35f363 100644 (file)
@@ -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',