rc-service: add usage message

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
This commit is contained in:
Andrew Gregory 2013-02-24 12:06:43 -05:00 committed by William Hubbs
parent 927207c1b7
commit fb10b97172

View File

@ -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' },