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 cccd144 commit 45befc1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/blade.c
Expand Up @@ -250,8 +250,9 @@ int main(int argc, char *argv[]) {
int next_gc_start = DEFAULT_GC_START;

if (argc > 1) {
int opt;
while ((opt = getopt(argc, argv, "hdeb:vg:wc:-")) != -1) {
int opt = opt = getopt(argc, argv, "hdeb:vg:wc:-");
printf("first opt = %d\n", opt);
while ((opt = getopt(argc, argv, "hdeb:vg:wc:-")) != -1 && opt != EOF) {
printf("Opt = %d, %d\n", opt, optind);
switch (opt) {
case 'h': {
Expand Down

0 comments on commit 45befc1

Please sign in to comment.