Add --nocolor to more programs

This commit is contained in:
Roy Marples
2007-06-28 15:44:14 +00:00
parent 10c3592147
commit 0fdc53d54d
7 changed files with 48 additions and 30 deletions

View File

@@ -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"