Remove C args

This commit is contained in:
Greg Shuflin 2023-07-23 20:59:42 -07:00
parent b02247fbe6
commit 9feeb6782b

View File

@ -20,29 +20,11 @@ extern void rust_main();
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
rust_main(); rust_main();
int r, o; int r;
unsigned char *input; unsigned char *input;
input = NULL; input = NULL;
while ((o = getopt(argc, argv, "f:ascv")) != -1)
{
switch (o)
{
case '?':
if (isprint(optopt))
{
error_log("Unknown option '-%c'.", optopt);
}
else
{
error_log("Unknown option character '\\x%x'.", optopt);
}
error_print();
return EXIT_FAILURE;
}
}
r = input_get(&input, "Enter input: "); r = input_get(&input, "Enter input: ");
if (r < 0) if (r < 0)
{ {