modificato msg di help
This commit is contained in:
parent
d5ffeacb9a
commit
ca0605108a
2 changed files with 13 additions and 2 deletions
2
main.go
2
main.go
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
_Version = "v4.0.2"
|
_Version = "v4.0.3"
|
||||||
_Producer = 0
|
_Producer = 0
|
||||||
_Consumer = 1
|
_Consumer = 1
|
||||||
_Remover = 2
|
_Remover = 2
|
||||||
|
|
13
options.go
13
options.go
|
@ -38,7 +38,18 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
fmt.Println("Usage: llmongo -m <mongo uri> -r <redis uri> -t <redis keys ttl> -l <logfile> -T <running ttl> -x <xymon server> -H <hostname> -i <influxdb uri> -v")
|
fmt.Println(`Usage: llmongo
|
||||||
|
-m <mongodb [ip:port,ip:port]>
|
||||||
|
-r <redisdb [ip:port]>
|
||||||
|
-t <redis keys ttl>
|
||||||
|
-l <logfile>
|
||||||
|
-T <running timeout>
|
||||||
|
-H <hostname>
|
||||||
|
-i <influxdb uri>
|
||||||
|
-q <parallel consumer>
|
||||||
|
-v <version>
|
||||||
|
-D <debug>
|
||||||
|
-DD <Test>`)
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue