aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2020-12-13 19:59:09 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-04 23:03:04 +0530
commit76d321f68f412a5d07a7dfb9ad0c1c9f5513b13a (patch)
treefd688e5d827306d9fcf60d3b0bab5617cc095af2 /youtube_dlc/options.py
parent2d30509fc893f58cac77c25134a246ed9d76e7ed (diff)
downloadhypervideo-pre-76d321f68f412a5d07a7dfb9ad0c1c9f5513b13a.tar.lz
hypervideo-pre-76d321f68f412a5d07a7dfb9ad0c1c9f5513b13a.tar.xz
hypervideo-pre-76d321f68f412a5d07a7dfb9ad0c1c9f5513b13a.zip
Option to present -F output to a more tabular form
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py
index e85006a87..f2878e468 100644
--- a/youtube_dlc/options.py
+++ b/youtube_dlc/options.py
@@ -444,6 +444,14 @@ def parseOpts(overrideArguments=None):
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,
help=optparse.SUPPRESS_HELP)