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
for l in $_flag_l
if string match -q "--$l" -- $t
if string match -q -- "--$l" $t
return 0
end
end