From 0fdc53d54db27853e87b2d85b8255ebc2d562263 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 28 Jun 2007 15:44:14 +0000 Subject: Add --nocolor to more programs --- src/rc-status.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/rc-status.c') 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" -- cgit v1.2.3