commit:     025c9693ccab9c6220520ace47aa81553e7ea600
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Nov  5 17:39:39 2018 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Nov  5 17:39:39 2018 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=025c9693

rc-service: fix help output

 src/rc/rc-service.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/rc/rc-service.c b/src/rc/rc-service.c
index 8b01fa0d..e9795650 100644
--- a/src/rc/rc-service.c
+++ b/src/rc/rc-service.c
@@ -49,10 +49,12 @@ const char * const longopts_help[] = {
        "set xtrace when running the command",
        "ignore dependencies",
        "tests if the service exists or not",
-       "if the service is crashed then run the command",
-       "if the service exists then run the command",
-       "if the service is inactive then run the command",
-       "if the service is not started then run the command",
+       "if the service is crashed run the command",
+       "if the service exists run the command",
+       "if the service is inactive run the command",
+       "if the service is not started run the command",
+       "if the service is started run the command",
+       "if the service is stopped run the command",
        "list all available services",
        "resolve the service name to an init script",
        "dry run (show what would happen)",

Reply via email to