X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ao_write.c;h=fdae8eea542f97720f963f281bddd121cf5d0a38;hp=3f681eb83aaca4f74c1c3d0d744bf9896fc24ccb;hb=75602d559d3dd57d704839b817377646722bfed8;hpb=36875cb7db20de1f374a0e65243513408a1e340d diff --git a/ao_write.c b/ao_write.c index 3f681eb8..fdae8eea 100644 --- a/ao_write.c +++ b/ao_write.c @@ -368,13 +368,10 @@ void ao_write_init(struct writer *w) ao_write_cmdline_parser_init(&dummy); w->close = aow_close; w->pre_select = aow_pre_select; - w->new_post_select = aow_post_select; - w->post_select = NULL; + w->post_select = aow_post_select; w->parse_config_or_die = aow_parse_config_or_die; w->free_config = aow_free_config; - w->help = (struct ggo_help) { - .short_help = ao_write_args_info_help, - }; + w->help = (struct ggo_help)DEFINE_GGO_HELP(ao_write); /* create detailed help containing all supported drivers/options */ for (i = 0; ao_write_args_info_detailed_help[i]; i++) ; /* nothing */