aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py
index cb8e8c06d..7a30882f1 100644
--- a/youtube_dlc/options.py
+++ b/youtube_dlc/options.py
@@ -640,7 +640,9 @@ def parseOpts(overrideArguments=None):
'--downloader-args', '--external-downloader-args',
metavar='NAME:ARGS', dest='external_downloader_args', default={}, type='str',
action='callback', callback=_dict_from_multiple_values_options_callback,
- callback_kwargs={'default_key': 'default', 'process': compat_shlex_split},
+ callback_kwargs={
+ 'allowed_keys': '|'.join(list_external_downloaders()),
+ 'default_key': 'default', 'process': compat_shlex_split},
help=(
'Give these arguments to the external downloader. '
'Specify the downloader name and the arguments separated by a colon ":". '