fixing argument parsing.

This commit is contained in:
Enno Boland (tox) 2010-03-24 23:55:41 +01:00
parent 3ede103556
commit 62dc599a04

2
surf.c
View file

@ -900,6 +900,8 @@ main(int argc, char *argv[]) {
break;
case 'v':
die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
default:
usage();
}
}
if(i < argc)