summaryrefslogtreecommitdiffstats
path: root/src/core.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-05-20 20:42:45 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-05-20 20:42:45 +0900
commit15099eb13b075891df9cb20e65bdf9ebd3acbb92 (patch)
tree00e7f03e36ae3d7a890ee58b5fe295e8a3d6a884 /src/core.go
parentc511b45ff652ebee4a9b0b48e65b05558c7474c8 (diff)
Remove duplicate processing of command-line options
Diffstat (limited to 'src/core.go')
-rw-r--r--src/core.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.go b/src/core.go
index d7a6a0bb..61cabf9e 100644
--- a/src/core.go
+++ b/src/core.go
@@ -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