1 |
commit: 67377cc09fb597e4e65fde52ca0c5cb269d00c15 |
2 |
Author: Andrew Gregory <andrew.gregory.8 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 24 17:06:40 2013 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 25 20:39:50 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=67377cc0 |
7 |
|
8 |
rc: add usage message |
9 |
|
10 |
Signed-off-by: Andrew Gregory <andrew.gregory.8 <AT> gmail.com> |
11 |
|
12 |
--- |
13 |
src/rc/rc.c | 2 ++ |
14 |
1 files changed, 2 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/src/rc/rc.c b/src/rc/rc.c |
17 |
index 2590048..a5d7085 100644 |
18 |
--- a/src/rc/rc.c |
19 |
+++ b/src/rc/rc.c |
20 |
@@ -727,6 +727,8 @@ handle_bad_signal(int sig) |
21 |
#endif |
22 |
|
23 |
#include "_usage.h" |
24 |
+#define usagestring "" \ |
25 |
+ "Usage: rc [options] [<runlevel>]" |
26 |
#define getoptstring "a:o:s:S" getoptstring_COMMON |
27 |
static const struct option longopts[] = { |
28 |
{ "applet", 1, NULL, 'a' }, |