diff -r f597c8f0bcc9 -r a034888a2227 tester3.c --- a/tester3.c Sat Jul 01 14:18:56 2000 +0200 +++ b/tester3.c Fri Jul 21 21:19:31 2000 +0200 @@ -22,12 +22,18 @@ static OptParserOpt opts[]={ {'o', "opt", OPT_ARG, "OPTION", "foo bar baz quk asdf jklö äölk dfgh quik aaaa bbbb cccc dddd eeee ffff"}, {'f', "file", OPT_ARG, "FILE", "asdfsadlfölökjasdflökjasdflkjöasdflkjöas dlöfjkasdfölkjasdfölkjasdfasdflöjasdfkasödjlfkasdlföjasdölfjkölkasjdfasdfölkjasd asdöljfasöldf asdölfköasdlf asfdlök asdföljkadsfölasdfölasdölkfjasdölfasödlflöskflasdföaölsdf"}, - {'v', "view", 0, NULL, NULL}, - {'z', "zip", 0, NULL, NULL}, - {'x', "extract", 0, NULL, NULL}, + {'v', "view", 0, NULL, "asfasdf"}, + {'z', "zip", 0, NULL, "asdfasdf"}, + {'x', "extract", 0, NULL, "asdfasdf"}, {0, NULL, 0, NULL, NULL} }; +static OptParserCommonInfo tester3_cinfo={ + NULL, + usage, + NULL +}; + int main(int argc, char *argv[]) { @@ -35,7 +41,7 @@ libtu_init(argv[0]); - optparser_init(argc, argv, OPTP_NO_DASH, opts, NULL); + optparser_init(argc, argv, OPTP_NO_DASH, opts, &tester3_cinfo); while((opt=optparser_get_opt())){ switch(opt){