diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2019-11-02 20:44:21 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2019-11-02 20:44:21 +0900 |
| commit | 68683c444f2bb6f869c8ac22b5d12fe014345885 (patch) | |
| tree | 822af5927f1049af9e46a3ab104d8cd74ee1be26 /src | |
| parent | a185593d65064d947ab7e8319daaca9625509ae9 (diff) | |
| download | fzf-68683c444f2bb6f869c8ac22b5d12fe014345885.tar.gz | |
Fix argument parser for -m
/cc @tessus
Diffstat (limited to 'src')
| -rw-r--r-- | src/options.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.go b/src/options.go index 5f3ea498..c394399d 100644 --- a/src/options.go +++ b/src/options.go @@ -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) |
