rc: add usage message
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
This commit is contained in:
parent
a82a2b5f7c
commit
67377cc09f
@ -727,6 +727,8 @@ handle_bad_signal(int sig)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "_usage.h"
|
#include "_usage.h"
|
||||||
|
#define usagestring "" \
|
||||||
|
"Usage: rc [options] [<runlevel>]"
|
||||||
#define getoptstring "a:o:s:S" getoptstring_COMMON
|
#define getoptstring "a:o:s:S" getoptstring_COMMON
|
||||||
static const struct option longopts[] = {
|
static const struct option longopts[] = {
|
||||||
{ "applet", 1, NULL, 'a' },
|
{ "applet", 1, NULL, 'a' },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user