Clean source manpages

This commit is contained in:
Julien Rabier 2021-02-05 12:18:30 +01:00
parent a8dc396099
commit f261d4fffe
6 changed files with 559 additions and 673 deletions

View file

@ -16,30 +16,29 @@ nsctl - manage running l2tpns instance
It provides both for the loading or unloading of plugins and also the
management of sessions via functions provided by those plugins.
.SH OPTIONS
.TP
\f[B]-d\f[R]
Enable debugging output.
.TP
\f[B]-h \f[BI]host\f[B][:\f[BI]port\f[B]]\f[R]
The host running \f[B]l2tpns\f[R] that should receive the message.
By default the message is sent to UDP port 1702 on \f[B]localhost\f[R].
.TP
\f[B]-t \f[BI]timeout\f[B]\f[R]
Timeout in seconds to wait for a response from the server.
.PP
\f[B]-d\f[R] Enable debugging output
.PP
\f[B]-h \f[BI]host\f[B][:\f[BI]port\f[B]]\f[R] The host running
\f[B]l2tpns\f[R] that should receive the message.
By default the message is sent to UDP port 1702 on \f[B]localhost\f[R]
.PP
\f[B]-t \f[BI]timeout\f[B]\f[R] Timeout in seconds to wait for a
response from the server
.SH COMMANDS
.PP
The first argument specifies the command to send to \f[B]l2tpns .\f[R]
The first argument specifies the command to send to \f[B]l2tpns.\f[R]
The following commands are as defined:
.TP
\f[B]load_plugin \f[R]\f[I]plugin\f[R]
Load the named \f[I]plugin\f[R].
Load the named \f[I]plugin\f[R]
.TP
\f[B]unload_plugin \f[R]\f[I]plugin\f[R]
Unload the named \f[I]plugin\f[R].
Unload the named \f[I]plugin\f[R]
.TP
\f[B]help\f[R]
Each loaded plugin is queried for what commands it supports and the
synopsis for each is output.
synopsis for each is output
.PP
Any other value of \f[I]command\f[R] (and \f[I]args\f[R] if any) are
sent to \f[B]l2tpns\f[R] as-is, to be passed to each plugin which