1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00

cmd/thalos/main.go: fix help text for version flag.

This commit is contained in:
Henrik Hautakoski 2023-11-04 13:34:00 +01:00
parent d6d9fa5ca0
commit 7ee70c00d7

View file

@ -178,7 +178,7 @@ func main() {
exit = make(chan bool)
showHelp := getopt.BoolLong("help", 'h', "display this help text")
showVersion := getopt.BoolLong("version", 'v', "display this help text")
showVersion := getopt.BoolLong("version", 'v', "display the version")
configFile := getopt.StringLong("config", 'c', "./config.yml", "Config file to read", "file")
pidFile := getopt.StringLong("pid", 'p', "", "Where to write process id", "file")
logFile := getopt.StringLong("log", 'l', "", "Path to log file", "file")