mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 19:16:46 +01:00
[cleanup] Refactor fixup
This commit is contained in:
parent
4e6767b5f2
commit
fd7cfb6444
3 changed files with 62 additions and 99 deletions
|
|
@ -1230,6 +1230,7 @@ def parseOpts(overrideArguments=None):
|
|||
postproc.add_option(
|
||||
'--fixup',
|
||||
metavar='POLICY', dest='fixup', default=None,
|
||||
choices=('never', 'ignore', 'warn', 'detect_or_warn'),
|
||||
help=(
|
||||
'Automatically correct known faults of the file. '
|
||||
'One of never (do nothing), warn (only emit a warning), '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue