Skip to content

Commit 69ad0d7

Browse files
author
pyed
committed
Fix command typo
1 parent 4cf00e4 commit 69ad0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func init() {
144144

145145
// set the usage message
146146
flag.Usage = func() {
147-
fmt.Fprint(os.Stderr, "Usage: rtelegram <-token=TOKEN> <-master=@tuser[,@user2..]> [-url=localhost/unix]\n\n")
147+
fmt.Fprint(os.Stderr, "Usage: rtelegram <-token=TOKEN> <-masters=@tuser[,@user2..]> [-url=localhost/unix]\n\n")
148148
fmt.Fprint(os.Stderr, "Example: rtelegram -token=1234abc -masters=user1,user2 -url=localhost:4374\n")
149149
fmt.Fprint(os.Stderr, "Example: RT_TOKEN=1234abc RT_MASTERS=user1 rtelegram\n\n")
150150
flag.PrintDefaults()

0 commit comments

Comments
 (0)