Option to present -F output to a more tabular form

This commit is contained in:
pukkandan
2020-12-13 19:59:09 +05:30
parent 2d30509fc8
commit 76d321f68f
5 changed files with 86 additions and 12 deletions

View File

@@ -443,6 +443,14 @@ def parseOpts(overrideArguments=None):
'-F', '--list-formats',
action='store_true', dest='listformats',
help='List all available formats of requested videos')
video_format.add_option(
'--list-formats-as-table',
action='store_true', dest='listformats_table', default=False,
help='Present the output of -F in a more tabular form')
video_format.add_option(
'--list-formats-old',
action='store_false', dest='listformats_table',
help=optparse.SUPPRESS_HELP)
video_format.add_option(
'--youtube-include-dash-manifest',
action='store_true', dest='youtube_include_dash_manifest', default=True,