From: Enno Boland (tox) Date: Wed, 24 Mar 2010 22:55:41 +0000 (+0100) Subject: fixing argument parsing. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=62dc599a048a773265e094c3da420d0dc91a11e9;p=surf.git fixing argument parsing. --- diff --git a/surf.c b/surf.c index 5a7f72b..aa29780 100644 --- a/surf.c +++ b/surf.c @@ -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)