fixing argument parsing.
authorEnno Boland (tox) <tox@s01.de>
Wed, 24 Mar 2010 22:55:41 +0000 (23:55 +0100)
committerEnno Boland (tox) <tox@s01.de>
Wed, 24 Mar 2010 22:55:41 +0000 (23:55 +0100)
surf.c

diff --git a/surf.c b/surf.c
index 5a7f72b..aa29780 100644 (file)
--- 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)