Skip to content

Commit

Permalink
Update help text in smcroute wrapper script
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Nilsson <[email protected]>
  • Loading branch information
troglobit committed Sep 9, 2018
1 parent f9649a1 commit 2b8d11f
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions smcroute
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,30 @@ case "$OP" in
smcrouted $*
;;
-h)
echo "This is a simple compatibility wrapper script for SMCRoute intended"
echo "for use with old style startup scripts. Use the /etc/smcroute.conf"
echo "configuration file instead, see the smcroute(8) man page for help."
echo "Usage: smcroute [OPTIONS] [ARGS]"
echo
echo " -d Start daemon"
echo " -k Kill a running daemon"
echo
echo " -h This help text"
echo " -v Show version"
echo
echo " -a ARGS Add a multicast route"
echo " -r ARGS Remove a multicast route"
echo
echo " -j ARGS Join a multicast group"
echo " -l ARGS Leave a multicast group"
echo
echo " <------------- INBOUND --------------> <----- OUTBOUND ------>"
echo " -a <IFNAME> <SOURCE-IP> <MULTICAST-GROUP> <IFNAME> [<IFNAME> ...]"
echo " -r <IFNAME> <SOURCE-IP> <MULTICAST-GROUP>"
echo
echo " -j <IFNAME> <MULTICAST-GROUP>"
echo " -l <IFNAME> <MULTICAST-GROUP>"
echo
echo "NOTE: This is a compatibility wrapper script for SMCRoute. Intended for"
echo " use with old style startup scripts. It is recommended to migrate"
echo " to /etc/smcroute.conf, see the smcroute(8) man page for help."
return 0
;;
-k)
Expand Down

0 comments on commit 2b8d11f

Please sign in to comment.