[hackers] [surf] fixing argument parsing. || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Wed, 24 Mar 2010 22:55:44 +0000 (UTC)

changeset: 186:fa558d70aeef
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Wed Mar 24 23:55:41 2010 +0100
files: surf.c
description:
fixing argument parsing.

diff -r 44f3fe3f0391 -r fa558d70aeef surf.c
--- a/surf.c Wed Mar 24 23:18:03 2010 +0100
+++ b/surf.c Wed Mar 24 23:55:41 2010 +0100
@@ -900,6 +900,8 @@
                         break;
                 case 'v':
                         die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
+ default:
+ usage();
                 }
         }
         if(i < argc)
Received on Wed Mar 24 2010 - 22:55:44 UTC

This archive was generated by hypermail 2.2.0 : Wed Mar 24 2010 - 23:00:15 UTC