summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2010-03-24 23:55:41 +0100
committerEnno Boland (tox) <tox@s01.de>2010-03-24 23:55:41 +0100
commit62dc599a048a773265e094c3da420d0dc91a11e9 (patch)
tree8b01ca11a9acdd36c48a0071fbda4b62b8dc4a51
parent3ede1035565e387fb56f98b10e6f4026557af099 (diff)
downloadsurf-62dc599a048a773265e094c3da420d0dc91a11e9.tar.gz
surf-62dc599a048a773265e094c3da420d0dc91a11e9.tar.bz2
surf-62dc599a048a773265e094c3da420d0dc91a11e9.zip
fixing argument parsing.
-rw-r--r--surf.c2
1 files changed, 2 insertions, 0 deletions
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)