Sfoglia il codice sorgente

[README.md] Add comments in sample configuration for clarity

Sergey M․ 9 anni fa
parent
commit
4c8f9c2577
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 9 1
      README.md

+ 9 - 1
README.md

@@ -412,11 +412,19 @@ You can configure youtube-dl by placing any supported command line option to a c
 
 
 For example, with the following configuration file youtube-dl will always extract the audio, not copy the mtime, use a proxy and save all videos under `Movies` directory in your home directory:
 For example, with the following configuration file youtube-dl will always extract the audio, not copy the mtime, use a proxy and save all videos under `Movies` directory in your home directory:
 ```
 ```
+# Lines starting with # are comments
+
+# Always extract audio
 -x
 -x
+
+# Do not copy the mtime
 --no-mtime
 --no-mtime
+
+# Use this proxy
 --proxy 127.0.0.1:3128
 --proxy 127.0.0.1:3128
+
+# Save all videos under Movies directory in your home directory
 -o ~/Movies/%(title)s.%(ext)s
 -o ~/Movies/%(title)s.%(ext)s
-# Lines starting with # are comments
 ```
 ```
 
 
 Note that options in configuration file are just the same options aka switches used in regular command line calls thus there **must be no whitespace** after `-` or `--`, e.g. `-o` or `--proxy` but not `- o` or `-- proxy`.
 Note that options in configuration file are just the same options aka switches used in regular command line calls thus there **must be no whitespace** after `-` or `--`, e.g. `-o` or `--proxy` but not `- o` or `-- proxy`.