commit:     f69833a1e17d1cf65e96a34fcc0e48caf9d90d64
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Sat Aug  1 20:08:31 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 12:39:58 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=f69833a1

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(-)

diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c
index 8790dfe..52e47f8 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'},

Reply via email to