From 68683c444f2bb6f869c8ac22b5d12fe014345885 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 2 Nov 2019 20:44:21 +0900 Subject: [PATCH] Fix argument parser for -m /cc @tessus --- src/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.go b/src/options.go index 5f3ea49..c394399 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)