Skip to content
Myr

Add missing --no-expect flag

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 07ef2b0 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:src/options.go+2 added
961 unmodified lines
962 case "--algo":963 opts.FuzzyAlgo = parseAlgo(nextString(allArgs, &i, "algorithm required (v1|v2)"))964 case "--expect":965 opts.Expect = parseKeyChords(nextString(allArgs, &i, "key names required"), "key names required")966 case "--no-expect":967 opts.Expect = make(map[int]string)968 case "--tiebreak":969 opts.Criteria = parseTiebreak(nextString(allArgs, &i, "sort criterion required"))970 case "--bind":971 parseKeymap(opts.Keymap, nextString(allArgs, &i, "bind expression required"))
280 unmodified lines