r169 - trunk

Petter Reinholdtsen pere at moszumanska.debian.org
Tue Jan 14 09:16:41 UTC 2014


Author: pere
Date: 2014-01-14 09:16:41 +0000 (Tue, 14 Jan 2014)
New Revision: 169

Modified:
   trunk/main.c
Log:
Document that the argument parsing switch statement should fall through to the help instructions.

Modified: trunk/main.c
===================================================================
--- trunk/main.c	2014-01-12 08:03:58 UTC (rev 168)
+++ trunk/main.c	2014-01-14 09:16:41 UTC (rev 169)
@@ -111,6 +111,7 @@
         break;
       default:
         printf("Invalid argument '%c'\n", opt);
+	/* Fall through */
       case 'h':
         usage(argv[0]);
         exit(0);




More information about the Chrpath-commits mailing list