--shell option for future compatibility.

This commit is contained in:
Kelvin Sherlock 2016-07-18 21:52:38 -04:00
parent 5976f91a89
commit 51a86117b8

View File

@ -784,6 +784,7 @@ int main(int argc, char **argv)
kTraceMPW, kTraceMPW,
kDebugger, kDebugger,
kMemoryStats, kMemoryStats,
kShell,
}; };
static struct option LongOpts[] = static struct option LongOpts[] =
{ {
@ -804,6 +805,7 @@ int main(int argc, char **argv)
{ "help", no_argument, NULL, 'h' }, { "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'V' }, { "version", no_argument, NULL, 'V' },
{ "shell", no_argument, NULL, kShell },
{ NULL, 0, NULL, 0 } { NULL, 0, NULL, 0 }
}; };
@ -844,6 +846,9 @@ int main(int argc, char **argv)
Flags.debugger = true; Flags.debugger = true;
break; break;
case kShell:
break;
case 'm': case 'm':
if (!parse_number(optarg, &Flags.machine)) if (!parse_number(optarg, &Flags.machine))
exit(EX_CONFIG); exit(EX_CONFIG);