X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=oss_write.c;h=3c61a445eec2456ec5fdcf585a9d95753d4cd71c;hp=0b8f1b5fc976046aeb75056603d231aaf9c4160f;hb=081c8921f827c1ed482c45ba22bd8bb97db2838b;hpb=3642d205180315b8e7c5e46ae18d814d517e0be6 diff --git a/oss_write.c b/oss_write.c index 0b8f1b5f..3c61a445 100644 --- a/oss_write.c +++ b/oss_write.c @@ -232,13 +232,9 @@ void oss_write_init(struct writer *w) oss_write_cmdline_parser_init(&dummy); w->close = oss_close; w->pre_select = oss_pre_select; - w->new_post_select = oss_post_select; - w->post_select = NULL; + w->post_select = oss_post_select; w->parse_config_or_die = oss_parse_config_or_die; w->free_config = oss_free_config; - w->help = (struct ggo_help) { - .short_help = oss_write_args_info_help, - .detailed_help = oss_write_args_info_detailed_help - }; + w->help = (struct ggo_help)DEFINE_GGO_HELP(oss_write); oss_write_cmdline_parser_free(&dummy); }