1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-15 13:55:38 +00:00

modify --keep-video option

This commit is contained in:
kikuyan 2021-08-05 09:44:26 +09:00
parent a803582717
commit 49edf4ea95

View file

@ -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,