aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-02-24 12:06:40 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-02-25 14:39:50 -0600
commit67377cc09fb597e4e65fde52ca0c5cb269d00c15 (patch)
tree6c3ce2601c500e66314cd9f6a93cd406c1e01960
parenta82a2b5f7c4d42e4d12f066aa35708501dc8794c (diff)
rc: add usage message
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
-rw-r--r--src/rc/rc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 25900484..a5d70850 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -727,6 +727,8 @@ handle_bad_signal(int sig)
#endif
#include "_usage.h"
+#define usagestring "" \
+ "Usage: rc [options] [<runlevel>]"
#define getoptstring "a:o:s:S" getoptstring_COMMON
static const struct option longopts[] = {
{ "applet", 1, NULL, 'a' },