m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-14 06:13:47 -05:00

Remove duplicate processing of command-line options

This commit is contained in:
Junegunn Choi
2015-05-20 20:42:45 +09:00
parent c511b45ff6
commit 15099eb13b

View File

@@ -47,10 +47,9 @@ Matcher -> EvtSearchFin -> Terminal (update list)
*/
// Run starts fzf
func Run(options *Options) {
func Run(opts *Options) {
initProcs()
opts := ParseOptions()
sort := opts.Sort > 0
rankTiebreak = opts.Tiebreak