Fix second for loop in __fish_seen_argument

This commit is contained in:
EmilySeville7cfg 2021-11-25 22:29:52 +10:00 committed by ridiculousfish
parent 1bd01436d9
commit 5aac064b2c

View File

@ -12,7 +12,7 @@ function __fish_seen_argument --description 'Check whether argument is used'
end
for o in $_flag_o
if string match --quiet -- "-$s" $t
if string match --quiet -- "-$o" $t
return 0
end
end