mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Fix string match argument parsing in __fish_seen_argument
This commit is contained in:
parent
d8a1928c24
commit
366933413b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue