diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-11 19:33:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-19 19:21:03 +0200 |
commit | dc4c24a3d35603957aecf2b075ac25902d18a190 (patch) | |
tree | 78ccdd568412fe73054f78fecef7bc12ef0ad74a /cmdutils.c | |
parent | 79600a83543afd7c485e30e1e9958765aadf7882 (diff) | |
download | ffmpeg-dc4c24a3d35603957aecf2b075ac25902d18a190.tar.gz |
avtools: move some newlines to show_help_options().
Don't require every caller to supply them.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |