mountinfo: fix -e and -E options

Add the -e and -E options to getoptstring so they are recognized.
This commit is contained in:
William Hubbs 2015-08-01 15:08:31 -05:00
parent eeadca0b8a
commit f69833a1e1

View File

@ -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'},