aboutsummaryrefslogtreecommitdiff
path: root/youtube_dlc/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/__init__.py')
-rw-r--r--youtube_dlc/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dlc/__init__.py b/youtube_dlc/__init__.py
index 2072165ce..5bf54b556 100644
--- a/youtube_dlc/__init__.py
+++ b/youtube_dlc/__init__.py
@@ -326,7 +326,12 @@ def _real_main(argv=None):
'exec_cmd': opts.exec_cmd,
})
+ _args_compat_warning = 'WARNING: %s given without specifying name. The arguments will be given to all %s\n'
+ if 'default' in opts.external_downloader_args:
+ write_string(_args_compat_warning % ('--external-downloader-args', 'external downloaders'), out=sys.stderr),
+
if 'default-compat' in opts.postprocessor_args and 'default' not in opts.postprocessor_args:
+ write_string(_args_compat_warning % ('--post-processor-args', 'post-processors'), out=sys.stderr),
opts.postprocessor_args.setdefault('sponskrub', [])
opts.postprocessor_args['default'] = opts.postprocessor_args['default-compat']