From 97021f769a0f06103b4af5019d942759d644e291 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 29 May 2024 10:55:32 +0200 Subject: fix: incorrect (switched) behaviour of --update/--replace --- cmd/searchix-web/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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) } -- cgit 1.4.1