Added options -n --no-mtab needed by automount
parent
66b6a9c219
commit
9b129fa1dd
|
@ -4049,6 +4049,7 @@ static int parse_options(int argc, char *argv[])
|
|||
static const struct option lopt[] = {
|
||||
{ "options", required_argument, NULL, 'o' },
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "no-mtab", no_argument, NULL, 'n' },
|
||||
{ "verbose", no_argument, NULL, 'v' },
|
||||
{ "version", no_argument, NULL, 'V' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
|
@ -4091,6 +4092,11 @@ static int parse_options(int argc, char *argv[])
|
|||
case 'h':
|
||||
usage();
|
||||
exit(9);
|
||||
case 'n':
|
||||
/*
|
||||
* no effect - automount passes it, meaning 'no-mtab'
|
||||
*/
|
||||
break;
|
||||
case 'v':
|
||||
/*
|
||||
* We must handle the 'verbose' option even if
|
||||
|
|
|
@ -3997,6 +3997,7 @@ static int parse_options(int argc, char *argv[])
|
|||
static const struct option lopt[] = {
|
||||
{ "options", required_argument, NULL, 'o' },
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ "no-mtab", no_argument, NULL, 'n' },
|
||||
{ "verbose", no_argument, NULL, 'v' },
|
||||
{ "version", no_argument, NULL, 'V' },
|
||||
{ NULL, 0, NULL, 0 }
|
||||
|
@ -4039,6 +4040,11 @@ static int parse_options(int argc, char *argv[])
|
|||
case 'h':
|
||||
usage();
|
||||
exit(9);
|
||||
case 'n':
|
||||
/*
|
||||
* no effect - automount passes it, meaning 'no-mtab'
|
||||
*/
|
||||
break;
|
||||
case 'v':
|
||||
/*
|
||||
* We must handle the 'verbose' option even if
|
||||
|
|
Loading…
Reference in New Issue