mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-10 21:02:31 +01:00
modify --keep-video option
This commit is contained in:
parent
a803582717
commit
49edf4ea95
@ -803,9 +803,9 @@ def parseOpts(overrideArguments=None):
|
|||||||
dest='postprocessor_args', metavar='ARGS',
|
dest='postprocessor_args', metavar='ARGS',
|
||||||
help='Give these arguments to the postprocessor')
|
help='Give these arguments to the postprocessor')
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
'-k', '--keep-video',
|
'-k', '--keep-files', '--keep-video',
|
||||||
action='store_true', dest='keepvideo', default=False,
|
action='store_true', dest='keepvideo', default=False,
|
||||||
help='Keep the video file on disk after the post-processing; the video is erased by default')
|
help='Keep original files on disk after the post-processing; original files (videos/subtitles) are erased by default')
|
||||||
postproc.add_option(
|
postproc.add_option(
|
||||||
'--no-post-overwrites',
|
'--no-post-overwrites',
|
||||||
action='store_true', dest='nopostoverwrites', default=False,
|
action='store_true', dest='nopostoverwrites', default=False,
|
||||||
|
Loading…
Reference in New Issue
Block a user