about summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-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)
 	}