1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-28 02:21:27 +00:00

Merge branch 'master' into wait-retries

This commit is contained in:
Paul Storkman
2025-01-12 01:11:23 +01:00
26 changed files with 573 additions and 184 deletions

View File

@@ -1372,12 +1372,12 @@ def create_parser():
help='Allow Unicode characters, "&" and spaces in filenames (default)')
filesystem.add_option(
'--windows-filenames',
action='store_true', dest='windowsfilenames', default=False,
action='store_true', dest='windowsfilenames', default=None,
help='Force filenames to be Windows-compatible')
filesystem.add_option(
'--no-windows-filenames',
action='store_false', dest='windowsfilenames',
help='Make filenames Windows-compatible only if using Windows (default)')
help='Sanitize filenames only minimally')
filesystem.add_option(
'--trim-filenames', '--trim-file-names', metavar='LENGTH',
dest='trim_file_name', default=0, type=int,