Skip to content

Commit

Permalink
man: document -b option to smcroutectl
Browse files Browse the repository at this point in the history
Issue #189

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Nov 27, 2022
1 parent 9a8b49b commit bb115d2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion man/smcroutectl.8
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.Xr smcrouted 8
.Sh SYNOPSIS
.Nm smcroutectl
.Op Fl dptv
.Op Fl bdptv
.Op Fl i Ar NAME
.Op Fl u Ar FILE
.Op Ar COMMAND
Expand Down Expand Up @@ -36,6 +36,16 @@ The following
.Nm
options are available:
.Bl -tag -width Ds
.It Fl b
Batch mode, read commands from stdin.
.Bd -unfilled -offset indent
$ sudo smcroutectl -b <<-EOF
join eth0 225.1.2.3
add eth0 192.168.1.42 225.1.2.3 eth1 eth2
rem eth1 225.3.4.5 eth3
leave eth1 225.3.4.5
EOF
.Ed
.It Fl d
Enable detailed output in show commands.
.It Fl i Ar NAME
Expand Down

0 comments on commit bb115d2

Please sign in to comment.