All pastes #952317 Raw Edit

Anonymous

public text v1 · immutable
#952317 ·published 2008-03-22 01:33 UTC
rendered paste body
Index: test/test.c
===================================================================
--- test/test.c	(revision 1354)
+++ test/test.c	(working copy)
@@ -1358,6 +1358,7 @@
             { "preset",      required_argument, NULL,    'Z' },
             { "preset-list", no_argument,       NULL,    'z' },
             { "vfr",         no_argument,       NULL,    'V' },
+            { "silly",       no_argument,       NULL,    1000 },
 
             { 0, 0, 0, 0 }
           };
@@ -1375,6 +1376,9 @@
 
         switch( c )
         {
+            case 1000:
+                printf("I got a silly option\n");
+                exit(0);
             case 'h':
                 ShowHelp();
                 exit( 0 );