Code

sysdb(1): Document SSL related command line options.
[sysdb.git] / doc / sysdb.1.txt
index f2838eb6b230e9927c97b78f3e27429ba4ac81df..ba64f713dce47a13010d743a306499001636cf13 100644 (file)
@@ -1,7 +1,5 @@
 sysdb(1)
 ========
-Sebastian "tokkee" Harl <sh@tokkee.org>
-version {package_version}, {build_date}
 :doctype: manpage
 
 NAME
@@ -24,6 +22,9 @@ OPTIONS
 -------
 *sysdb* accepts the following command-line options.
 
+Connection options:
+~~~~~~~~~~~~~~~~~~~
+
 *-H* '<host>'::
        The SysDB host to connect to. May be specified as the path to a UNIX
        socket opened by the daemon. Defaults to {localstatedir}/run/sysdbd.sock.
@@ -32,6 +33,28 @@ OPTIONS
        The username used to authenticate against the server. Defaults to the
        current user.
 
+*-c* '<command>'::
+       Send the specified command to the server after authenticating. This option
+       may be used multiple times. Each command will be send to the server
+       separately. Exit the process after handling the reply from the last
+       command.
+
+SSL options:
+~~~~~~~~~~~~
+
+*-K* '<keyfile>'::
+       The SSL private key file to use for SSL connections.
+
+*-C* '<certfile>'::
+       The SSL certificate file to use for SSL connections.
+
+*-A* '<cafile>'::
+       The certificate authority (CA) certificates file for server certificate
+       verification to use for SSL connection.
+
+General options:
+~~~~~~~~~~~~~~~~
+
 *-h*::
        Display a usage and help summary and exit.
 
@@ -44,7 +67,8 @@ EXIT CODES
        Success.
 
 *1*::
-       Failure (syntax or usage error).
+       Failure (syntax or usage error). When using the *-c* option, sysdb exits
+       with status 1 if the specified command failed.
 
 BUGS
 ----
@@ -52,11 +76,13 @@ None known.
 
 SEE ALSO
 --------
-*sysdbd*(1)
+manpage:sysdbd[1], manpage:sysdbql[7]
+
+The SysDB homepage: https://sysdb.io/
 
 AUTHOR
 ------
-sysdbd was written by Sebastian "tokkee" Harl <sh@tokkee.org>.
+SysDB was written by Sebastian "tokkee" Harl <sh@tokkee.org>.
 
 COPYRIGHT
 ---------