diff options
author | Alan Pearce | 2024-05-29 10:55:32 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-29 10:55:32 +0200 |
commit | 97021f769a0f06103b4af5019d942759d644e291 (patch) | |
tree | 4ad013f510d5e7316cddebd761189de68506d0d1 /cmd/searchix-web | |
parent | a5e3c144034eab0cb41c4b65557e5c30e877c9fb (diff) | |
download | searchix-97021f769a0f06103b4af5019d942759d644e291.tar.lz searchix-97021f769a0f06103b4af5019d942759d644e291.tar.zst searchix-97021f769a0f06103b4af5019d942759d644e291.zip |
fix: incorrect (switched) behaviour of --update/--replace
Diffstat (limited to 'cmd/searchix-web')
-rw-r--r-- | cmd/searchix-web/main.go | 2 |
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) } |