mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-21 05:44:02 -07:00
Introduce --output-na-placeholder (closes #27896)
This commit is contained in:
parent
4542e3e555
commit
142c584063
5 changed files with 21 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue