aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-11-05 11:39:39 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-11-05 11:39:39 -0600
commit025c9693ccab9c6220520ace47aa81553e7ea600 (patch)
tree07aeff5fc4d8e962c70e5dc2fd741f6316a79ada
parentee3c4afdb75b98cd472b7ffbb46adc9d8a1e1b15 (diff)
rc-service: fix help output
-rw-r--r--src/rc/rc-service.c10
1 files 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)",