mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-29 23:32:07 +03:00
Complete implementation
This commit is contained in:
@@ -1380,6 +1380,14 @@ def create_parser():
|
||||
'--trim-filenames', '--trim-file-names', metavar='LENGTH',
|
||||
dest='trim_file_name', default=0, type=int,
|
||||
help='Limit the filename length (excluding extension) to the specified number of characters')
|
||||
filesystem.add_option(
|
||||
'--max-filename-length', metavar='LENGTH',
|
||||
dest='max_file_name',
|
||||
help='Limit the filename length (including extension) to the specified number of characters or bytes')
|
||||
filesystem.add_option(
|
||||
'--filesystem-encoding', metavar='ENCODING',
|
||||
dest='filesystem_encoding',
|
||||
help='Override filesystem encoding used when calculating filename length in bytes')
|
||||
filesystem.add_option(
|
||||
'-w', '--no-overwrites',
|
||||
action='store_false', dest='overwrites', default=None,
|
||||
|
||||
Reference in New Issue
Block a user