fixing argument parsing.

This commit is contained in:
Enno Boland (tox) 2010-03-24 23:55:41 +01:00
parent 3ede103556
commit 62dc599a04
1 changed files with 2 additions and 0 deletions

2
surf.c
View File

@ -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)