aboutsummaryrefslogtreecommitdiff
path: root/src/openrc/rc.c
diff options
context:
space:
mode:
authorxdavidwu <xdavidwuph@gmail.com>2022-07-20 15:48:23 +0800
committerMike Frysinger <vapier@gmail.com>2022-07-21 03:53:42 -0400
commit95dc83bfbcfeffd1f1dca97e1c5b9a346e0ea42e (patch)
tree1db65c7643e14eef72140cc7395b34fc380a0f19 /src/openrc/rc.c
parent14b153c1a4953e9beb52edc3cb464cabda77d861 (diff)
openrc: fix help messages
The two lines seem to both belong to --override, but made into seperate array elements accidentally, making options after --override and their help mismatch. This fixes it.
Diffstat (limited to 'src/openrc/rc.c')
-rw-r--r--src/openrc/rc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openrc/rc.c b/src/openrc/rc.c
index c1ca1bd7..c853c829 100644
--- a/src/openrc/rc.c
+++ b/src/openrc/rc.c
@@ -64,8 +64,7 @@ const struct option longopts[] = {
};
const char * const longopts_help[] = {
"do not stop any services",
- "override the next runlevel to change into\n",
- "when leaving single user or boot runlevels",
+ "override the next runlevel to change into\nwhen leaving single user or boot runlevels",
"runs the service specified with the rest\nof the arguments",
"output the RC system type, if any",
longopts_help_COMMON