aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-07-29 08:26:17 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-07-29 08:47:25 +0530
commit7d1eb38af154db77341b28b14776b23172a234e0 (patch)
treeb971b71d2ebf52d8a89be193c5015bd614afe0d5 /yt_dlp/options.py
parent901130bbcf799573255ade3e2882dec4670feda8 (diff)
downloadhypervideo-pre-7d1eb38af154db77341b28b14776b23172a234e0.tar.lz
hypervideo-pre-7d1eb38af154db77341b28b14776b23172a234e0.tar.xz
hypervideo-pre-7d1eb38af154db77341b28b14776b23172a234e0.zip
Add format types `j`, `l`, `q` for outtmpl
Closes #345
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 5c3ac0dcd..9b71427d1 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -1286,11 +1286,11 @@ def parseOpts(overrideArguments=None):
'Execute a command on the file after downloading and post-processing. '
'Similar syntax to the output template can be used to pass any field as arguments to the command. '
'An additional field "filepath" that contains the final path of the downloaded file is also available. '
- 'If no fields are passed, "%(filepath)s" is appended to the end of the command'))
+ 'If no fields are passed, %(filepath)q is appended to the end of the command'))
postproc.add_option(
'--exec-before-download',
metavar='CMD', dest='exec_before_dl_cmd',
- help='Execute a command before the actual download. The syntax is the same as --exec')
+ help='Execute a command before the actual download. The syntax is the same as --exec but "filepath" is not available')
postproc.add_option(
'--convert-subs', '--convert-sub', '--convert-subtitles',
metavar='FORMAT', dest='convertsubtitles', default=None,