ref: 154d8b86d16e4ba063550bb713f4bcce7a7b6e4a
parent: 06fea2e35a16bf20a90c4c6934ad9a3450d2f5e4
author: cbagwell <cbagwell>
date: Sun Oct 12 20:55:39 EDT 2008
Making an invalid option to return error code of 1 again.
--- a/src/sox.c
+++ b/src/sox.c
@@ -1915,8 +1915,12 @@
return c;
break;
- case 'h': case '?':
- usage(NULL); /* No return */
+ case 'h':
+ usage(NULL);
+ break;
+
+ case '?':
+ usage("invalid option"); /* No return */
break;
case 't':