Add --print-json (Closes #2845)
This commit is contained in:
parent
92b065dc53
commit
c0bdf32a3c
2 changed files with 10 additions and 4 deletions
|
@ -445,6 +445,11 @@ def parseOpts(overrideArguments=None):
|
|||
'-J', '--dump-single-json',
|
||||
action='store_true', dest='dump_single_json', default=False,
|
||||
help='simulate, quiet but print JSON information for each command-line argument. If the URL refers to a playlist, dump the whole playlist information in a single line.')
|
||||
verbosity.add_option(
|
||||
'--print-json',
|
||||
action='store_true', dest='print_json', default=False,
|
||||
help='Be quiet and print the video information as JSON (video is still being downloaded).',
|
||||
)
|
||||
verbosity.add_option(
|
||||
'--newline',
|
||||
action='store_true', dest='progress_with_newline', default=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue