X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=amp_filter.c;h=f62ea8a2f50962182e158ce8da7f18fb4ec1df4f;hp=186f87a52a8656eb6f42cc28913e5fbf31b9d251;hb=f9fadcd03753d16722df98b993df6218cd519357;hpb=74c88020bd325865fe26ed25ea8ad0ace0924136 diff --git a/amp_filter.c b/amp_filter.c index 186f87a5..f62ea8a2 100644 --- a/amp_filter.c +++ b/amp_filter.c @@ -134,11 +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 = 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); }