aboutsummaryrefslogtreecommitdiff
path: root/src/mountinfo.c
diff options
context:
space:
mode:
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"