aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/rc-update.c b/src/rc/rc-update.c
index 3e51840a..273f7ef7 100644
--- a/src/rc/rc-update.c
+++ b/src/rc/rc-update.c
@@ -195,10 +195,10 @@ show(RC_STRINGLIST *runlevels, bool verbose)
}
#include "_usage.h"
-#define usagestring "" \
- "Usage: rc-update [options] add service <runlevel>\n" \
- " rc-update [options] del service <runlevel>\n" \
- " rc-update [options] show"
+#define usagestring "" \
+ "Usage: rc-update [options] add <service> [<runlevel>...]\n" \
+ " or: rc-update [options] del <service> [<runlevel>...]\n" \
+ " or: rc-update [options] [show [<runlevel>...]]"
#define getoptstring "su" getoptstring_COMMON
static const struct option longopts[] = {
{ "stack", 0, NULL, 's' },