aboutsummaryrefslogtreecommitdiff
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py
index e0651b7ba..1d7a7fed2 100644
--- a/youtube_dlc/options.py
+++ b/youtube_dlc/options.py
@@ -775,6 +775,9 @@ def parseOpts(overrideArguments=None):
'--rm-cache-dir',
action='store_true', dest='rm_cachedir',
help='Delete all filesystem cache files')
+ filesystem.add_option(
+ '--trim-file-name', dest='trim_file_name', default=0, type=int,
+ help='Limit the filename length (extension excluded)')
thumbnail = optparse.OptionGroup(parser, 'Thumbnail images')
thumbnail.add_option(