mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
Fix second for loop in __fish_seen_argument
This commit is contained in:
committed by
ridiculousfish
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
|
||||
|
||||
Reference in New Issue
Block a user