Skip to content

Commit

Permalink
Updated install script
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfriend99 committed Feb 23, 2024
1 parent 7b74135 commit b30c150
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/blade.c
Expand Up @@ -250,11 +250,8 @@ int main(int argc, char *argv[]) {
int next_gc_start = DEFAULT_GC_START;

if (argc > 1) {
int opt = getopt(argc, (char **)argv, "hdeb:vg:wc:-");
printf("Opt = %d, %d\n", opt, optind);

/*while ((opt = getopt(argc, (char **)argv, "hdeb:vg:wc:-")) != -1) {
printf("Opt = %d, %d\n", opt, optind);
int opt;
while ((opt = getopt(argc, argv, "hdeb:vg:wc:--")) != -1) {
switch (opt) {
case 'h': {
show_usage(argv, false);
Expand Down Expand Up @@ -297,7 +294,7 @@ int main(int argc, char *argv[]) {
break;
}
}
}*/
}
}

b_vm *vm = (b_vm *) malloc(sizeof(b_vm));
Expand Down

0 comments on commit b30c150

Please sign in to comment.