Do not use HTML characters in output
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 28 Sep 2014 22:23:41 +0000 (00:23 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 28 Sep 2014 22:23:43 +0000 (00:23 +0200)
This messes up the format when people paste it outside of code tags.

youtube_dl/options.py

index 44dcb1e34fa9eca6b95c42e85433fec88fe6fd24..f651337adbedf1b58460d7fa147dec79664b0f27 100644 (file)
@@ -87,7 +87,7 @@ def parseOpts(overrideArguments=None):
         for private_opt in ['-p', '--password', '-u', '--username', '--video-password']:
             try:
                 i = opts.index(private_opt)
-                opts[i+1] = '<PRIVATE>'
+                opts[i+1] = 'PRIVATE'
             except ValueError:
                 pass
         return opts