From: travankor Date: Sat, 7 Sep 2019 11:28:01 +0000 (-0700) Subject: Fix typo in dinitctl man page. Document restart for help option. X-Git-Tag: v0.8.0~46^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=51058ff6921fbbb8a86b49411fcbea3791e6755e;p=oweals%2Fdinit.git Fix typo in dinitctl man page. Document restart for help option. --- diff --git a/doc/manpages/dinitctl.8.m4 b/doc/manpages/dinitctl.8.m4 index ca3aa37..d636c0e 100644 --- a/doc/manpages/dinitctl.8.m4 +++ b/doc/manpages/dinitctl.8.m4 @@ -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 diff --git a/src/dinitctl.cc b/src/dinitctl.cc index 5c966c3..1d7b8ea 100644 --- a/src/dinitctl.cc +++ b/src/dinitctl.cc @@ -259,6 +259,7 @@ int main(int argc, char **argv) "Usage:\n" " dinitctl [options] start [options] \n" " dinitctl [options] stop [options] \n" + " dinitctl [options] restart [options] \n" " dinitctl [options] wake [options] \n" " dinitctl [options] release [options] \n" " dinitctl [options] unpin \n"