From: Paul Brossier Date: Sun, 14 Aug 2005 03:37:35 +0000 (+0000) Subject: fixed long options in utils.c X-Git-Tag: 0.4.0-beta1~1374 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=13d57e84ea99c209c516b67a4b9553e5cf89f060;p=aubio.git fixed long options in utils.c --- diff --git a/examples/utils.c b/examples/utils.c index f6cb0575..0ae9df3a 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -104,13 +104,13 @@ int parse_args (int argc, char **argv) { {"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];