Skip to content

Commit

Permalink
Document new command line options
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Nilsson <[email protected]>
  • Loading branch information
troglobit committed Feb 23, 2020
1 parent 49aec44 commit 99dfdae
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,22 @@ usage
```shell
$ mcjoin -h

Usage: mcjoin [-dhjqsv] [-c COUNT] [-i IFNAME] [-p PORT] [-r SEC] [-t TTL]
Usage: mcjoin [-dhjsv] [-c COUNT] [-i IFACE] [-p PORT] [-r SEC] [-t TTL] [-w SEC]
[[SOURCE,]GROUP0 .. [SOURCE,]GROUPN | [SOURCE,]GROUP+NUM]

Options:
-c COUNT Exit after COUNT number of received and/or sent packets
-d Debug output
-h This help text
-i IFNAME Interface to use for multicast groups, default eth0
-j Join groups, default unless acting as sender
-p PORT UDP port number to listen to, default: 1234
-q Quiet mode
-r SEC Do a join/leave every SEC seconds
-s Act as sender, sends packets to select groups
-t TTL TTL to use when sending multicast packets, default 1
-v Display program version
-c COUNT Stop sending/receiving after COUNT number of packets
-d Run as daemon in background, output except progress to syslog
-h This help text
-i IFACE Interface to use for sending/receiving multicast, default eth0
-j Join groups, default unless acting as sender
-l LEVEL Set log level; none, notice*, debug\n"
-p PORT UDP port number to listen to, default: 1234
-r SEC Do a join/leave every SEC seconds (backwards compat. option)
-s Act as sender, sends packets to select groups
-t TTL TTL to use when sending multicast packets, default 1
-v Display program version
-w SEC Initial wait before opening sockets
Bug report address: https://github.com/troglobit/mcjoin/issues
Project homepage: https://github.com/troglobit/mcjoin/
Expand Down

0 comments on commit 99dfdae

Please sign in to comment.