Fix newlines in help menu

This commit is contained in:
jsteube
2016-10-11 09:46:18 +02:00
parent 26fd67d932
commit ab8d2eb336
2 changed files with 12 additions and 4 deletions
+10 -2
View File
@@ -410,10 +410,18 @@ static const char *USAGE_BIG[] =
void usage_mini_print (const char *progname)
{
for (int i = 0; USAGE_MINI[i] != NULL; i++) printf (USAGE_MINI[i], progname);
for (int i = 0; USAGE_MINI[i] != NULL; i++)
{
printf (USAGE_MINI[i], progname);
printf (EOL);
}
}
void usage_big_print (const char *progname)
{
for (int i = 0; USAGE_BIG[i] != NULL; i++) printf (USAGE_BIG[i], progname);
for (int i = 0; USAGE_BIG[i] != NULL; i++)
{
printf (USAGE_BIG[i], progname);
printf (EOL);
}
}