about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cmd/searchix-web/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/searchix-web/main.go b/cmd/searchix-web/main.go
index 04c32c2..1eef5c3 100644
--- a/cmd/searchix-web/main.go
+++ b/cmd/searchix-web/main.go
@@ -53,7 +53,7 @@ func main() {
 		log.Fatalf("Failed to initialise searchix: %v", err)
 	}
 
-	err = s.SetupIndex(*replace, *update)
+	err = s.SetupIndex(*update, *replace)
 	if err != nil {
 		log.Fatalf("Failed to setup index: %v", err)
 	}