Fix typo in dinitctl man page. Document restart for help option. 23/head
authortravankor <travankor@tuta.io>
Sat, 7 Sep 2019 11:28:01 +0000 (04:28 -0700)
committertravankor <travankor@tuta.io>
Sun, 8 Sep 2019 04:47:18 +0000 (21:47 -0700)
doc/manpages/dinitctl.8.m4
src/dinitctl.cc

index ca3aa370dc803b9a5db0178689b53f3193182750..d636c0e50faa6ec1f9d0b13f54d0ce70b974c695 100644 (file)
@@ -12,7 +12,7 @@ dinitctl \- control services supervised by Dinit
 [\fIoptions\fR] \fBstop\fR [\fB\-\-no\-wait\fR] [\fB\-\-pin\fR] \fIservice-name\fR
 .br
 .B dinitctl
-[\fIoptions\fR] \restart\fR [\fB\-\-no\-wait\fR] \fIservice-name\fR
+[\fIoptions\fR] \fBrestart\fR [\fB\-\-no\-wait\fR] \fIservice-name\fR
 .br
 .B dinitctl
 [\fIoptions\fR] \fBwake\fR [\fB\-\-no\-wait\fR] \fIservice-name\fR
index 5c966c3ce26d34f0fb486a69e66e15f25392d418..1d7b8ea777917c74108e61115641748eb6e49d53 100644 (file)
@@ -259,6 +259,7 @@ int main(int argc, char **argv)
           "Usage:\n"
           "    dinitctl [options] start [options] <service-name>\n"
           "    dinitctl [options] stop [options] <service-name>\n"
+          "    dinitctl [options] restart [options] <service-name>\n"
           "    dinitctl [options] wake [options] <service-name>\n"
           "    dinitctl [options] release [options] <service-name>\n"
           "    dinitctl [options] unpin <service-name>\n"