mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
Fix string match argument parsing in __fish_seen_argument
This commit is contained in:
parent
d8a1928c24
commit
366933413b
|
@ -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 New Issue
Block a user