Skip to content
Snippets Groups Projects
Unverified Commit b13fcfd8 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Add missing --no-expect flag

parent 07ef2b05
No related branches found
No related tags found
No related merge requests found
......@@ -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":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment