mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +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
|
||||
|
||||
for l in $_flag_l
|
||||
if string match -q "--$l" -- $t
|
||||
if string match -q -- "--$l" $t
|
||||
return 0
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue