summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 28753bd..dc8b6a8 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1253,9 +1253,11 @@ _help(void)
1253 "Where PROFILE can be one of:\n"); 1253 "Where PROFILE can be one of:\n");
1254 1254
1255 for (i = 0; resolutions[i].name; ++i) 1255 for (i = 0; resolutions[i].name; ++i)
1256 fprintf(stderr, " %s", resolutions[i].name); 1256 if (strlen(resolutions[i].name) >= 7)
1257 fprintf(stderr, " %s [ %i x %i ]\n", resolutions[i].name, resolutions[i].width, resolutions[i].height);
1258 else
1259 fprintf(stderr, " %s\t [ %i x %i ]\n", resolutions[i].name, resolutions[i].width, resolutions[i].height);
1257 1260
1258 fprintf(stderr, "\n");
1259 exit(-1); 1261 exit(-1);
1260} 1262}
1261 1263