[hackers] [libixp] Add a default label to the argument handling in ixpc.

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Mar 26 21:49:24 2007

changeset: 52:7c9a3d78a7a5
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Mar 26 15:46:04 2007 -0400
summary: Add a default label to the argument handling in ixpc.

diff -r eab22a7c80a3 -r 7c9a3d78a7a5 cmd/ixpc.c
--- a/cmd/ixpc.c Mon Mar 26 14:27:29 2007 -0400
+++ b/cmd/ixpc.c Mon Mar 26 15:46:04 2007 -0400
@@ -303,6 +303,9 @@ main(int argc, char *argv[]) {
                 exit(0);
         case 'a':
                 address = EARGF(usage());
+ break;
+ default:
+ usage();
         }ARGEND;
 
         cmd = EARGF(usage());
Received on Mon Mar 26 2007 - 21:49:24 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:26 UTC