projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ca2cf
)
[options] Add --no-mark-watched (#5054)
author
Sergey M․
<dstftw@gmail.com>
Tue, 1 Mar 2016 17:41:23 +0000
(23:41 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 1 Mar 2016 17:41:23 +0000
(23:41 +0600)
youtube_dl/options.py
patch
|
blob
|
history
diff --git
a/youtube_dl/options.py
b/youtube_dl/options.py
index 048dee88162a386dc7ac3466c530a50cf7acb379..9dd7a80346c2704c91cbaccb17096ac24a35f363 100644
(file)
--- 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',