Code

sysdb(1): Be more verbose about the exit status when using the -c option.
[sysdb.git] / doc / sysdb.1.txt
index f2838eb6b230e9927c97b78f3e27429ba4ac81df..c8d27e35a2b6f0739d5af2fe05e01645210ee668 100644 (file)
@@ -32,6 +32,12 @@ 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.
+
 *-h*::
        Display a usage and help summary and exit.
 
@@ -44,7 +50,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
 ----
@@ -56,7 +63,7 @@ SEE ALSO
 
 AUTHOR
 ------
-sysdbd was written by Sebastian "tokkee" Harl <sh@tokkee.org>.
+SysDB was written by Sebastian "tokkee" Harl <sh@tokkee.org>.
 
 COPYRIGHT
 ---------