From 51058ff6921fbbb8a86b49411fcbea3791e6755e Mon Sep 17 00:00:00 2001 From: travankor Date: Sat, 7 Sep 2019 04:28:01 -0700 Subject: [PATCH] Fix typo in dinitctl man page. Document restart for help option. --- doc/manpages/dinitctl.8.m4 | 2 +- src/dinitctl.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" -- 2.25.1