mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:47:09 +08:00
Fix second for loop in __fish_seen_argument
This commit is contained in:
parent
1bd01436d9
commit
5aac064b2c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user