diff mbox series

[2/9] batctl: man: Move commands to own section

Message ID 20210717110129.25539-3-sven@narfation.org
State Accepted, archived
Delegated to: Simon Wunderlich
Headers show
Series batctl: manpage spring cleaning | expand

Commit Message

Sven Eckelmann July 17, 2021, 11:01 a.m. UTC
The commands were implemented as paragraph with specific style in the
options section. But it should actually be a complete new section because
it is not really related to the options at all.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 man/batctl.8 | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/man/batctl.8 b/man/batctl.8
index a820e6e..58656eb 100644
--- a/man/batctl.8
+++ b/man/batctl.8
@@ -41,19 +41,16 @@  functionality to the normal \fBping\fP(1), \fBtraceroute\fP(1), \fBtcpdump\fP(1)
 behaviour or using the B.A.T.M.A.N. advanced protocol. For similar reasons, \fBthroughputmeter\fP, a command to test network
 performances, is also included.
 
-.PP
-.PP
 .SH OPTIONS
-.TP
-.I \fBoptions:
 \-m     specify mesh interface (default 'bat0')
 .br
 \-h     print general batctl help
 .br
 \-v     print batctl version and batman-adv version (if the module is loaded)
 .br
-.TP
-.I \fBcommands:
+
+.SH COMMANDS
+
 .IP "[\fBmeshif <netdev>\fP] \fBinterface\fP|\fBif\fP [\fB-M\fP] [\fBadd\fP|\fBdel iface(s)\fP]"
 If no parameter is given or the first parameter is neither "add" nor "del" the current interface settings are displayed.
 In order to add or delete interfaces specify "add" or "del" as first argument and append the interface names you wish to