diff --git a/doc/man/knotc.8in b/doc/man/knotc.8in index 4ce0071816cdb1b8f4ad951cdef3d2418130ec5e..abdb53381c616ba41f5f09b4c98b10ff5c8c0911 100644 --- a/doc/man/knotc.8in +++ b/doc/man/knotc.8in @@ -35,7 +35,10 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] \fBknotc\fP [\fIparameters\fP] \fIaction\fP [\fIaction_args\fP] .SH DESCRIPTION .sp -If no \fIaction\fP is specified, the program is executed in interactive mode. +This program controls a running \fIknotd\fP process using a socket. +.sp +If an \fIaction\fP is specified, it is performed and \fIknotc\fP exits, otherwise the program +is executed in the interactive mode. .SS Parameters .INDENT 0.0 .TP diff --git a/doc/man_knotc.rst b/doc/man_knotc.rst index 9a9db6ac9de8febb0e60727336bdc485ced315a2..e4af43f7a83d15372e5dfe4e09ab32b22a7fb645 100644 --- a/doc/man_knotc.rst +++ b/doc/man_knotc.rst @@ -11,7 +11,10 @@ Synopsis Description ----------- -If no *action* is specified, the program is executed in interactive mode. +This program controls a running `knotd` process using a socket. + +If an *action* is specified, it is performed and `knotc` exits, otherwise the program +is executed in the interactive mode. Parameters ..........