all repos — searchix @ 97021f769a0f06103b4af5019d942759d644e291

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: incorrect (switched) behaviour of --update/--replace
Alan Pearce alan@alanpearce.eu
Wed, 29 May 2024 10:55:32 +0200
commit

97021f769a0f06103b4af5019d942759d644e291

parent

a5e3c144034eab0cb41c4b65557e5c30e877c9fb

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M cmd/searchix-web/main.gocmd/searchix-web/main.go
@@ -53,7 +53,7 @@ if err != nil { 		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)
 	}