mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-02 11:43:40 +02:00
cmd/thalos/main.go: fix help text for version flag.
This commit is contained in:
parent
d6d9fa5ca0
commit
7ee70c00d7
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ func main() {
|
||||||
exit = make(chan bool)
|
exit = make(chan bool)
|
||||||
|
|
||||||
showHelp := getopt.BoolLong("help", 'h', "display this help text")
|
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")
|
configFile := getopt.StringLong("config", 'c', "./config.yml", "Config file to read", "file")
|
||||||
pidFile := getopt.StringLong("pid", 'p', "", "Where to write process id", "file")
|
pidFile := getopt.StringLong("pid", 'p', "", "Where to write process id", "file")
|
||||||
logFile := getopt.StringLong("log", 'l', "", "Path to log file", "file")
|
logFile := getopt.StringLong("log", 'l', "", "Path to log file", "file")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue