about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-20 22:57:05 +0200
committerAlan Pearce2024-05-20 22:57:05 +0200
commit2d4c9acf72a1ef10bf62e32430da37331038d474 (patch)
tree55d8408971ed178e63df6eeb7720a9ad7f5c80f1
parent12d5d45a7894c3f6b6d598f9447de839d31436ef (diff)
downloadsearchix-2d4c9acf72a1ef10bf62e32430da37331038d474.tar.lz
searchix-2d4c9acf72a1ef10bf62e32430da37331038d474.tar.zst
searchix-2d4c9acf72a1ef10bf62e32430da37331038d474.zip
docs: clarify help text for --replace
-rw-r--r--searchix.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/searchix.go b/searchix.go
index 26c8148..384dfe7 100644
--- a/searchix.go
+++ b/searchix.go
@@ -30,12 +30,8 @@ var (
 		"print default configuration and exit",
 	)
 	liveReload = flag.Bool("live", false, "whether to enable live reloading (development)")
-	replace    = flag.Bool(
-		"replace",
-		false,
-		"whether to replace existing database, if it exists",
-	)
-	version = flag.Bool("version", false, "print version information")
+	replace    = flag.Bool("replace", false, "replace existing index and exit")
+	version    = flag.Bool("version", false, "print version information")
 )
 
 func nextOccurrenceOfLocalTime(t toml.LocalTime) time.Time {