Files
ocserv/src/occtl-args.def
Nikos Mavrogiannopoulos 30bcf35576 Revert "license upgraded to GPLv3"
This reverts commit 213f9a63ee.

Conflicts:
	configure.ac
2014-09-24 11:34:15 +02:00

76 lines
2.0 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";
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.";
};
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. It uses D-BUS to connect to ocserv.
_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 or D-BUS to connect to ocserv (depending on compilation options).
In case D-BUS is being use the D-BUS access controls should be used to prevent potentially dangerous commands to be sent
to ocserv by unprivileged users.
_EOT_;
};
doc-section = {
ds-type = 'SEE ALSO';
ds-format = 'man';
ds-text = <<-_EOText_
ocserv(8)
_EOText_;
};