From f69833a1e17d1cf65e96a34fcc0e48caf9d90d64 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 1 Aug 2015 15:08:31 -0500 Subject: mountinfo: fix -e and -E options Add the -e and -E options to getoptstring so they are recognized. --- src/rc/mountinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc') diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c index 8790dfee..52e47f8d 100644 --- a/src/rc/mountinfo.c +++ b/src/rc/mountinfo.c @@ -347,7 +347,7 @@ get_regex(const char *string) #include "_usage.h" #define extraopts "[mount1] [mount2] ..." -#define getoptstring "f:F:n:N:o:O:p:P:ist" getoptstring_COMMON +#define getoptstring "f:F:n:N:o:O:p:P:iste:E:" getoptstring_COMMON static const struct option longopts[] = { { "fstype-regex", 1, NULL, 'f'}, { "skip-fstype-regex", 1, NULL, 'F'}, -- cgit v1.2.3