X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=amp_filter.c;h=a011c411ef376c61f89fa6cc6baf574f04caeb0f;hp=2f05260157de9e7103d1a717812981773489fd59;hb=d38eb22bbb5e89d70872a6ed07766f937af3ee47;hpb=89a0e510df07bc7210ca9e73381763fdd183df75 diff --git a/amp_filter.c b/amp_filter.c index 2f052601..a011c411 100644 --- a/amp_filter.c +++ b/amp_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Andre Noll + * Copyright (C) 2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -10,6 +10,7 @@ #include "amp_filter.cmdline.h" #include "list.h" #include "sched.h" +#include "ggo.h" #include "filter.h" #include "string.h" #include "error.h" @@ -92,9 +93,15 @@ static void amp_open(struct filter_node *fn) */ void amp_filter_init(struct filter *f) { + struct amp_filter_args_info dummy; + + amp_cmdline_parser_init(&dummy); f->open = amp_open; f->close = amp_close; f->convert = amp_convert; - f->print_help = amp_cmdline_parser_print_help; f->parse_config = amp_parse_config; + f->help = (struct ggo_help) { + .short_help = amp_filter_args_info_help, + .detailed_help = amp_filter_args_info_detailed_help + }; }