From fb10b971722ca630314ac7bccb9480f277a56d31 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sun, 24 Feb 2013 12:06:43 -0500 Subject: rc-service: add usage message Signed-off-by: Andrew Gregory --- src/rc/rc-service.c | 5 +++++ 1 file changed, 5 insertions(+) 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] ...\n" \ + " or: rc-service [options] -e \n" \ + " or: rc-service [options] -l\n" \ + " or: rc-service [options] -r " #define getoptstring "e:ilr:" getoptstring_COMMON static const struct option longopts[] = { { "exists", 1, NULL, 'e' }, -- cgit v1.2.3