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 // Run starts fzf
func Run(options *Options) { func Run(opts *Options) {
initProcs() initProcs()
opts := ParseOptions()
sort := opts.Sort > 0 sort := opts.Sort > 0
rankTiebreak = opts.Tiebreak rankTiebreak = opts.Tiebreak