Fix string match argument parsing in __fish_seen_argument

This commit is contained in:
Mahmoud Al-Qudsi 2018-04-03 21:13:11 -05:00
parent d8a1928c24
commit 366933413b

View file

@ -11,7 +11,7 @@ function __fish_seen_argument
end end
for l in $_flag_l for l in $_flag_l
if string match -q "--$l" -- $t if string match -q -- "--$l" $t
return 0 return 0
end end
end end