shithub: sox

Download patch

ref: 86d4d41e609e17c1f40b518d25abf8d4d4ae9942
parent: 28b78d0ea3c8fa07132aa5e58c004040abcc9a9f
author: cbagwell <cbagwell>
date: Wed Jan 31 23:15:17 EST 2007

Max --type have a required arg.

--- a/src/sox.c
+++ b/src/sox.c
@@ -509,7 +509,7 @@
     {"reverse-bits"    ,       no_argument, NULL, 'X'},
     {"reverse-nibbles" ,       no_argument, NULL, 'N'},
     {"show-progress"   ,       no_argument, NULL, 'S'},
-    {"type"            ,       no_argument, NULL, 't'},
+    {"type"            , required_argument, NULL, 't'},
     {"volume"          , required_argument, NULL, 'v'},
 
     {NULL, 0, NULL, 0}