diff options
author | Roy Marples <roy@marples.name> | 2007-06-28 15:44:14 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-06-28 15:44:14 +0000 |
commit | 0fdc53d54db27853e87b2d85b8255ebc2d562263 (patch) | |
tree | 75a6393cca89d006ee86cd42f9a217230a0e031c /src/mountinfo.c | |
parent | 10c3592147d284da4b634dcaa9204ac227143590 (diff) |
Add --nocolor to more programs
Diffstat (limited to 'src/mountinfo.c')
-rw-r--r-- | src/mountinfo.c | 5 |
1 files changed, 3 insertions, 2 deletions
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" |