summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-11-02 20:44:21 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-11-02 20:44:21 +0900
commit68683c444f2bb6f869c8ac22b5d12fe014345885 (patch)
tree822af5927f1049af9e46a3ab104d8cd74ee1be26
parenta185593d65064d947ab7e8319daaca9625509ae9 (diff)
Fix argument parser for -m
/cc @tessus
-rw-r--r--src/options.go2
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)