mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
81 lines
1.9 KiB
Modula-2
81 lines
1.9 KiB
Modula-2
AutoGen Definitions options;
|
|
prog-name = occtl;
|
|
prog-title = "OpenConnect VPN server control";
|
|
prog-desc = "OpenConnect VPN server control.";
|
|
disable-save;
|
|
no-xlate = opt;
|
|
gnu-usage;
|
|
config-header = config.h;
|
|
long-opts;
|
|
no-misuse-usage;
|
|
short-usage = "Usage: occtl [options] [command]\nocctl --help for usage instructions.\n";
|
|
explain = "";
|
|
#include version.inc
|
|
|
|
detail = "Openconnect VPN server control (occtl) is a tool to control
|
|
the ocserv VPN server.";
|
|
|
|
copyright = {
|
|
date = "2014, 2015";
|
|
owner = "Red Hat";
|
|
author = "Nikos Mavrogiannopoulos";
|
|
eaddr = "openconnect-devel@lists.infradead.org";
|
|
type = gplv2;
|
|
};
|
|
|
|
help-value = h;
|
|
|
|
flag = {
|
|
name = socket-file;
|
|
value = s;
|
|
arg-type = file;
|
|
descrip = "Specify the server's occtl socket file";
|
|
doc = "This option is only needed if you have multiple servers.";
|
|
};
|
|
|
|
flag = {
|
|
name = json;
|
|
value = j;
|
|
descrip = "Output will be JSON formatted";
|
|
doc = "";
|
|
};
|
|
|
|
|
|
doc-section = {
|
|
ds-type = 'SYNOPSIS';
|
|
ds-format = 'texi';
|
|
ds-text = <<-_EOT_
|
|
Openconnect VPN server control (occtl) is a tool to control
|
|
the ocserv VPN server.
|
|
_EOT_;
|
|
};
|
|
|
|
doc-section = {
|
|
ds-type = 'DESCRIPTION';
|
|
ds-format = 'texi';
|
|
ds-text = <<-_EOT_
|
|
This a control tool that can be used to send commands to ocserv. When
|
|
called without any arguments the tool can be used interactively, where
|
|
each command is entered on a command prompt; alternatively the tool
|
|
can be called with the command specified as parameter. In the latter
|
|
case the tool's exit code will reflect the successful execution of
|
|
the command.
|
|
_EOT_;
|
|
};
|
|
|
|
doc-section = {
|
|
ds-type = 'IMPLEMENTATION NOTES';
|
|
ds-format = 'texi';
|
|
ds-text = <<-_EOT_
|
|
This tool uses unix domain sockets to connect to ocserv.
|
|
_EOT_;
|
|
};
|
|
|
|
doc-section = {
|
|
ds-type = 'SEE ALSO';
|
|
ds-format = 'man';
|
|
ds-text = <<-_EOText_
|
|
ocserv(8)
|
|
_EOText_;
|
|
};
|