X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=amp_filter.c;h=f62ea8a2f50962182e158ce8da7f18fb4ec1df4f;hp=78a70f972f0ae58a1c10f14d6d032847a14c1536;hb=75602d559d3dd57d704839b817377646722bfed8;hpb=ac3371140ad3047476b6bc0f479d11cbdf60ffc5 diff --git a/amp_filter.c b/amp_filter.c index 78a70f97..f62ea8a2 100644 --- a/amp_filter.c +++ b/amp_filter.c @@ -134,12 +134,8 @@ void amp_filter_init(struct filter *f) f->open = amp_open; f->close = amp_close; f->pre_select = generic_filter_pre_select; - f->new_post_select = amp_post_select; - f->post_select = NULL; + f->post_select = amp_post_select; f->parse_config = amp_parse_config; f->free_config = amp_free_config; - f->help = (struct ggo_help) { - .short_help = amp_filter_args_info_help, - .detailed_help = amp_filter_args_info_detailed_help - }; + f->help = (struct ggo_help)DEFINE_GGO_HELP(amp_filter); }