mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-30 10:05:58 +00:00
Remove duplicate processing of command-line options
This commit is contained in:
1 parent
c511b45ff6
commit
15099eb13b
1 file changed
+1
-2
+1
-2
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user