From dc4c24a3d35603957aecf2b075ac25902d18a190 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 11 Aug 2012 19:33:27 +0200 Subject: avtools: move some newlines to show_help_options(). Don't require every caller to supply them. --- avconv_opt.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'avconv_opt.c') diff --git a/avconv_opt.c b/avconv_opt.c index 295cc27ba3..8915a865c9 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -1794,24 +1794,24 @@ static int show_help(const char *opt, const char *arg) int flags = AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM; av_log_set_callback(log_callback_help); show_usage(); - show_help_options(options, "Main options:\n", + show_help_options(options, "Main options:", OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE, 0); - show_help_options(options, "\nAdvanced options:\n", + show_help_options(options, "Advanced options:", OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE, OPT_EXPERT); - show_help_options(options, "\nVideo options:\n", + show_help_options(options, "Video options:", OPT_EXPERT | OPT_AUDIO | OPT_VIDEO, OPT_VIDEO); - show_help_options(options, "\nAdvanced Video options:\n", + show_help_options(options, "Advanced Video options:", OPT_EXPERT | OPT_AUDIO | OPT_VIDEO, OPT_VIDEO | OPT_EXPERT); - show_help_options(options, "\nAudio options:\n", + show_help_options(options, "Audio options:", OPT_EXPERT | OPT_AUDIO | OPT_VIDEO, OPT_AUDIO); - show_help_options(options, "\nAdvanced Audio options:\n", + show_help_options(options, "Advanced Audio options:", OPT_EXPERT | OPT_AUDIO | OPT_VIDEO, OPT_AUDIO | OPT_EXPERT); - show_help_options(options, "\nSubtitle options:\n", + show_help_options(options, "Subtitle options:", OPT_SUBTITLE, OPT_SUBTITLE); printf("\n"); show_help_children(avcodec_get_class(), flags); -- cgit v1.2.3