X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oggdec_filter.c;h=0653f7dadd0d7223e27ea9e339d113420aaa7a5f;hp=689fc7aac57739ba23989616d4e8cbfb1ed761b1;hb=dded41e5bed40cca8876e1056351cc1dbab309d0;hpb=dd0b1f12758ac877de6834b34f8c7f9291d4311d diff --git a/oggdec_filter.c b/oggdec_filter.c index 689fc7aa..0653f7da 100644 --- a/oggdec_filter.c +++ b/oggdec_filter.c @@ -11,6 +11,7 @@ #include "oggdec_filter.cmdline.h" #include "list.h" #include "sched.h" +#include "ggo.h" #include "filter.h" #include "error.h" #include "string.h" @@ -195,9 +196,15 @@ err: */ void oggdec_filter_init(struct filter *f) { + struct oggdec_filter_args_info dummy; + + oggdec_cmdline_parser_init(&dummy); f->open = ogg_open; f->close = ogg_close; f->convert = ogg_convert; - f->print_help = oggdec_cmdline_parser_print_help; f->parse_config = oggdec_parse_config; + f->help = (struct ggo_help) { + .short_help = oggdec_filter_args_info_help, + .detailed_help = oggdec_filter_args_info_detailed_help + }; }