From b13fcfd831313a60c624dc48cb1b41a2d68bdc5c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 4 Jul 2017 23:02:08 +0900 Subject: [PATCH] Add missing --no-expect flag --- src/options.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/options.go b/src/options.go index a0b28d4..afd46b9 100644 --- a/src/options.go +++ b/src/options.go @@ -963,6 +963,8 @@ func parseOptions(opts *Options, allArgs []string) { opts.FuzzyAlgo = parseAlgo(nextString(allArgs, &i, "algorithm required (v1|v2)")) case "--expect": opts.Expect = parseKeyChords(nextString(allArgs, &i, "key names required"), "key names required") + case "--no-expect": + opts.Expect = make(map[int]string) case "--tiebreak": opts.Criteria = parseTiebreak(nextString(allArgs, &i, "sort criterion required")) case "--bind":