shithub: aubio

Download patch

ref: 13d57e84ea99c209c516b67a4b9553e5cf89f060
parent: 855ed0abdc4d1b371747073c9102894cbf1ea666
author: Paul Brossier <piem@altern.org>
date: Sat Aug 13 23:37:35 EDT 2005

fixed long options in utils.c

--- a/examples/utils.c
+++ b/examples/utils.c
@@ -104,13 +104,13 @@
                 {"help"     , 0, NULL, 'h'},
                 {"verbose"  , 0, NULL, 'v'},
                 {"jack"     , 0, NULL, 'j'},
-                {"output"   , 0, NULL, 'o'},
-                {"input"    , 0, NULL, 'i'},
-                {"onset"    , 0, NULL, 'O'},
-                {"threshold", 0, NULL, 't'},
-                {"silence"  , 0, NULL, 's'},
+                {"output"   , 1, NULL, 'o'},
+                {"input"    , 1, NULL, 'i'},
+                {"onset"    , 1, NULL, 'O'},
+                {"threshold", 1, NULL, 't'},
+                {"silence"  , 1, NULL, 's'},
                 {"averaging", 0, NULL, 'a'},
-                {"hopsize",   0, NULL, 'H'},
+                {"hopsize",   1, NULL, 'H'},
                 {NULL       , 0, NULL, 0}
         };
         prog_name = argv[0];