fixing argument parsing.
This commit is contained in:
parent
3ede103556
commit
62dc599a04
1 changed files with 2 additions and 0 deletions
2
surf.c
2
surf.c
|
@ -900,6 +900,8 @@ main(int argc, char *argv[]) {
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
|
die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
|
||||||
|
default:
|
||||||
|
usage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(i < argc)
|
if(i < argc)
|
||||||
|
|
Loading…
Reference in a new issue