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/mountinfo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mountinfo.c') diff --git a/src/mountinfo.c b/src/mountinfo.c index b56282f4..18243fb3 100644 --- a/src/mountinfo.c +++ b/src/mountinfo.c @@ -130,7 +130,8 @@ static char **find_mounts (regex_t *node_regex, regex_t *fstype_regex, # error "Operating system not supported!" #endif -#define getoptstring "F:N:S:fnrhV" +#include "_usage.h" +#define getoptstring "F:N:S:fnrV" getoptstring_COMMON static struct option longopts[] = { { "fstype-regex", 1, NULL, 'F'}, { "node-regex", 1, NULL, 'N'}, @@ -138,7 +139,7 @@ static struct option longopts[] = { { "fstype", 0, NULL, 'f'}, { "node", 0, NULL, 'n'}, { "reverse", 0, NULL, 'r'}, - { "help", 0, NULL, 'h'}, + longopts_COMMON { NULL, 0, NULL, 0} }; #include "_usage.c" -- cgit v1.2.3