aboutsummaryrefslogtreecommitdiff
path: root/src/mountinfo.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/mountinfo.c
parent10c3592147d284da4b634dcaa9204ac227143590 (diff)
Add --nocolor to more programs
Diffstat (limited to 'src/mountinfo.c')
-rw-r--r--src/mountinfo.c5
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"