mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-11-01 09:26:45 -07:00
Introduce --output-na-placeholder (closes #27896)
This commit is contained in:
@@ -689,6 +689,10 @@ def parseOpts(overrideArguments=None):
|
||||
'-o', '--output',
|
||||
dest='outtmpl', metavar='TEMPLATE',
|
||||
help=('Output filename template, see the "OUTPUT TEMPLATE" for all the info'))
|
||||
filesystem.add_option(
|
||||
'--output-na-placeholder',
|
||||
dest='outtmpl_na_placeholder', metavar='PLACEHOLDER', default='NA',
|
||||
help=('Placeholder value for unavailable meta fields in output filename template (default is "%default")'))
|
||||
filesystem.add_option(
|
||||
'--autonumber-size',
|
||||
dest='autonumber_size', metavar='NUMBER', type=int,
|
||||
|
||||
Reference in New Issue
Block a user