Add missing --no-expect flag

This commit is contained in:
Junegunn Choi 2017-07-04 23:02:08 +09:00
parent 07ef2b051c
commit b13fcfd831
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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":