Skip to content

Commit 3b9566c

Browse files
committed
Cleaned up the CLI option documentation.
1 parent 86a7c3b commit 3b9566c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
func main() {
1212
dbpath0 := flag.String("db", "index.sqlite3", "Path to the SQLite file for the metadata")
1313
port0 := flag.Int("port", 8080, "Port to listen to for requests")
14-
backup0 := flag.Int("backup", 24, "Frequency of back-ups, in hours")
15-
update0 := flag.Int("update", 24, "Frequency of updates, in hours")
16-
timeout0 := flag.Int("finish", 30, "Time spent polling for the verification code when finishing (de)registration, in seconds")
17-
prefix0 := flag.String("prefix", "", "Prefix to add to each endpoint, excluding the first and last slashes (default \"\")")
18-
lifetime0 := flag.Int("session", 10, "Session lifetime, in minutes")
14+
backup0 := flag.Int("backup", 24, "Frequency of creating or updating back-ups, in hours")
15+
update0 := flag.Int("update", 24, "Frequency of updating the index by scanning registered directories, in hours")
16+
timeout0 := flag.Int("finish", 30, "Maximum time spent polling for the verification code when finishing (de)registration, in seconds")
17+
prefix0 := flag.String("prefix", "", "Prefix to add to each endpoint, after removing any leading or trailing slashes (default \"\")")
18+
lifetime0 := flag.Int("session", 10, "Maximum lifetime of a (de)registration session from start to finish, in minutes")
1919
flag.Parse()
2020

2121
dbpath := *dbpath0

0 commit comments

Comments
 (0)