summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/rc-service.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rc/rc-service.c b/src/rc/rc-service.c
index 2fbdd75..d35b36b 100644
--- a/src/rc/rc-service.c
+++ b/src/rc/rc-service.c
@@ -42,6 +42,11 @@
extern char *applet;
#include "_usage.h"
+#define usagestring "" \
+ "Usage: rc-service [options] [-i] <service> <cmd>...\n" \
+ " or: rc-service [options] -e <service>\n" \
+ " or: rc-service [options] -l\n" \
+ " or: rc-service [options] -r <service>"
#define getoptstring "e:ilr:" getoptstring_COMMON
static const struct option longopts[] = {
{ "exists", 1, NULL, 'e' },