summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2014-02-28 13:05:11 -0300
committerCedric Bail <cedric.bail@free.fr>2014-02-28 13:05:11 -0300
commit01ff7df1f2e39a50b6a949cd341517bdadcead7b (patch)
tree07116d691bc66deb82a6ba486b759f0d8b3fac2c
parent21d03f8a61933262599013394889f859fdc60f7c (diff)
expedite: report the resolution size in pixels in help.
-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