diff options
author | Cedric Bail <cedric.bail@free.fr> | 2014-02-28 13:05:11 -0300 |
---|---|---|
committer | Cedric Bail <cedric.bail@free.fr> | 2014-02-28 13:05:11 -0300 |
commit | 01ff7df1f2e39a50b6a949cd341517bdadcead7b (patch) | |
tree | 07116d691bc66deb82a6ba486b759f0d8b3fac2c | |
parent | 21d03f8a61933262599013394889f859fdc60f7c (diff) |
expedite: report the resolution size in pixels in help.
-rw-r--r-- | src/bin/main.c | 6 |
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 | ||