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. --- cmdutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index 3b8ab3f44b..51077449b7 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -124,7 +124,7 @@ void show_help_options(const OptionDef *options, const char *msg, int mask, char buf[64]; if ((po->flags & mask) == value) { if (first) { - printf("%s", msg); + printf("%s\n", msg); first = 0; } av_strlcpy(buf, po->name, sizeof(buf)); @@ -135,6 +135,7 @@ void show_help_options(const OptionDef *options, const char *msg, int mask, printf("-%-17s %s\n", buf, po->help); } } + printf("\n"); } void show_help_children(const AVClass *class, int flags) -- cgit v1.2.3