aboutsummaryrefslogtreecommitdiff
path: root/src/rc-status.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-06-28 15:44:14 +0000
committerRoy Marples <roy@marples.name>2007-06-28 15:44:14 +0000
commit0fdc53d54db27853e87b2d85b8255ebc2d562263 (patch)
tree75a6393cca89d006ee86cd42f9a217230a0e031c /src/rc-status.c
parent10c3592147d284da4b634dcaa9204ac227143590 (diff)
Add --nocolor to more programs
Diffstat (limited to 'src/rc-status.c')
-rw-r--r--src/rc-status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rc-status.c b/src/rc-status.c
index 358e3439..7c99df7e 100644
--- a/src/rc-status.c
+++ b/src/rc-status.c
@@ -53,13 +53,14 @@ static void print_service (char *service)
ebracket (cols, color, status);
}
-#define getoptstring "alsuh"
+#include "_usage.h"
+#define getoptstring "alsu" getoptstring_COMMON
const struct option longopts[] = {
{"all", 0, NULL, 'a'},
{"list", 0, NULL, 'l'},
{"servicelist", 0, NULL, 's'},
{"unused", 0, NULL, 'u'},
- {"help", 0, NULL, 'h'},
+ longopts_COMMON
{NULL, 0, NULL, 0}
};
#include "_usage.c"