Fix usage message
This commit is contained in:
parent
69a0968036
commit
cf54f5d7f6
2
main.go
2
main.go
@ -180,7 +180,7 @@ func init() {
|
||||
|
||||
// set the usage message
|
||||
flag.Usage = func() {
|
||||
fmt.Fprint(os.Stderr, "Usage: transmission-bot <-token=TOKEN> <-master=@tuser> [-master=@yuser2] [-url=http://] [-username=user] [-password=pass]\n\n")
|
||||
fmt.Fprint(os.Stderr, "Usage: transmission-telegram <-token=TOKEN> <-master=@tuser> [-master=@yuser2] [-url=http://] [-username=user] [-password=pass]\n\n")
|
||||
flag.PrintDefaults()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user