mcexec: use -M for --mpol-threshold
Conflicts: executer/user/mcexec.c
This commit is contained in:
@ -1640,7 +1640,7 @@ static struct option mcexec_options[] = {
|
|||||||
.name = "mpol-threshold",
|
.name = "mpol-threshold",
|
||||||
.has_arg = required_argument,
|
.has_arg = required_argument,
|
||||||
.flag = NULL,
|
.flag = NULL,
|
||||||
.val = 'm',
|
.val = 'M',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "disable-sched-yield",
|
.name = "disable-sched-yield",
|
||||||
@ -1869,9 +1869,9 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
/* Parse options ("+" denotes stop at the first non-option) */
|
/* Parse options ("+" denotes stop at the first non-option) */
|
||||||
#ifdef ADD_ENVS_OPTION
|
#ifdef ADD_ENVS_OPTION
|
||||||
while ((opt = getopt_long(argc, argv, "+c:n:t:m:h:e:s:", mcexec_options, NULL)) != -1) {
|
while ((opt = getopt_long(argc, argv, "+c:n:t:M:h:e:s:", mcexec_options, NULL)) != -1) {
|
||||||
#else /* ADD_ENVS_OPTION */
|
#else /* ADD_ENVS_OPTION */
|
||||||
while ((opt = getopt_long(argc, argv, "+c:n:t:m:h:s:", mcexec_options, NULL)) != -1) {
|
while ((opt = getopt_long(argc, argv, "+c:n:t:M:h:s:", mcexec_options, NULL)) != -1) {
|
||||||
#endif /* ADD_ENVS_OPTION */
|
#endif /* ADD_ENVS_OPTION */
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
char *tmp;
|
char *tmp;
|
||||||
@ -1900,7 +1900,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'm':
|
case 'M':
|
||||||
mpol_threshold = atobytes(optarg);
|
mpol_threshold = atobytes(optarg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user