Remove C args

This commit is contained in:
Greg Shuflin 2023-07-23 20:59:42 -07:00
parent b02247fbe6
commit 9feeb6782b
1 changed files with 1 additions and 19 deletions

View File

@ -20,29 +20,11 @@ extern void rust_main();
int main(int argc, char *argv[])
{
rust_main();
int r, o;
int r;
unsigned char *input;
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: ");
if (r < 0)
{