2
0
Эх сурвалжийг харах

[options] Mention comments support in --batch-file

Arend v. Reinersdorff 7 жил өмнө
parent
commit
5d60b99717
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      youtube_dl/options.py

+ 2 - 1
youtube_dl/options.py

@@ -676,7 +676,8 @@ def parseOpts(overrideArguments=None):
     filesystem.add_option(
         '-a', '--batch-file',
         dest='batchfile', metavar='FILE',
-        help='File containing URLs to download (\'-\' for stdin)')
+        help="File containing URLs to download ('-' for stdin), one URL per line. "
+             "Lines starting with '#', ';' or ']' are considered as comments and ignored.")
     filesystem.add_option(
         '--id', default=False,
         action='store_true', dest='useid', help='Use only video ID in file name')