avtools: move some newlines to show_help_options().

Don't require every caller to supply them.
This commit is contained in:
Anton Khirnov
2012-08-11 19:33:27 +02:00
parent 79600a8354
commit dc4c24a3d3
5 changed files with 13 additions and 12 deletions

View File

@ -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)