mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 19:39:07 +00:00
Fix argument parser for -m
/cc @tessus
This commit is contained in:
parent
a185593d65
commit
68683c444f
@ -1191,7 +1191,7 @@ func parseOptions(opts *Options, allArgs []string) {
|
||||
opts.WithNth = splitNth(value)
|
||||
} else if match, _ := optString(arg, "-s", "--sort="); match {
|
||||
opts.Sort = 1 // Don't care
|
||||
} else if match, value := optString(arg, "-s", "--multi="); match {
|
||||
} else if match, value := optString(arg, "-m", "--multi="); match {
|
||||
opts.Multi = atoi(value)
|
||||
} else if match, value := optString(arg, "--height="); match {
|
||||
opts.Height = parseHeight(value)
|
||||
|
Loading…
Reference in New Issue
Block a user