aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-08-01 15:08:31 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-08-02 07:39:58 -0500
commitf69833a1e17d1cf65e96a34fcc0e48caf9d90d64 (patch)
tree7637f56a99d6bfaa76b44a1bea933e1c529b313b /src
parenteeadca0b8a5b87c26e60a58563251604350a7a3b (diff)
mountinfo: fix -e and -E options
Add the -e and -E options to getoptstring so they are recognized.
Diffstat (limited to 'src')
-rw-r--r--src/rc/mountinfo.c2
1 files changed, 1 insertions, 1 deletions
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'},