summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-10-23 16:32:17 +0200
committerJaime Marquínez Ferrándiz <[email protected]>2013-10-23 16:32:17 +0200
commit3126050c0fe204dfb2669f794097648b9c9fa8c8 (patch)
tree3d783897ebdfe87d62f1c9105ae7bfa0c97cee83
parent93b22c7828911668c503e868d6be053e8a0deb7c (diff)
downloadyoutube-dl-3126050c0fe204dfb2669f794097648b9c9fa8c8.tar.gz
youtube-dl-3126050c0fe204dfb2669f794097648b9c9fa8c8.zip
Hide the video password on verbose mode
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index fce1adf0c..c141dcdda 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -133,7 +133,7 @@ def parseOpts(overrideArguments=None):
def _hide_login_info(opts):
opts = list(opts)
- for private_opt in ['-p', '--password', '-u', '--username']:
+ for private_opt in ['-p', '--password', '-u', '--username', '--video-password']:
try:
i = opts.index(private_opt)
opts[i+1] = '<PRIVATE>'