From efba4c7c7646d09e21c5297bb5ed74357e7f4525 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 23 Jun 2010 11:59:11 +0200 Subject: completions: Fix long/short equivalence handling --- etc/completions/_youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/completions/_youtube-dl') diff --git a/etc/completions/_youtube-dl b/etc/completions/_youtube-dl index c0daef2..98fa6e3 100644 --- a/etc/completions/_youtube-dl +++ b/etc/completions/_youtube-dl @@ -61,7 +61,7 @@ arguments=( for arg in ${(k)argument_pairs}; { arguments+='(--'${arg}')-'${argument_pairs[$arg]}${argument_postfix[$arg]} - arguments+='(-'${argument_pairs[$arg]}[1]')--'${arg}${argument_postfix[$arg]} + arguments+='(-'${${argument_pairs[$arg]}[1]}')--'${arg}${argument_postfix[$arg]} } _arguments -s ${arguments} -- cgit v1.2.3