about summary refs log tree commit diff stats
path: root/cmd/searchix-web
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/searchix-web')
-rw-r--r--cmd/searchix-web/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/searchix-web/main.go b/cmd/searchix-web/main.go
index 1eef5c3..c9ba2d6 100644
--- a/cmd/searchix-web/main.go
+++ b/cmd/searchix-web/main.go
@@ -9,6 +9,8 @@ import (
 	"os"
 	"os/signal"
 
+	"badc0de.net/pkg/flagutil"
+
 	"searchix"
 	"searchix/internal/config"
 )
@@ -27,7 +29,7 @@ var (
 )
 
 func main() {
-	flag.Parse()
+	flagutil.Parse()
 	if *version {
 		_, err := fmt.Fprintf(os.Stderr, "searchix %s\n", config.Version)
 		if err != nil {