expedite: report the resolution size in pixels in help.
This commit is contained in:
parent
21d03f8a61
commit
01ff7df1f2
|
@ -1253,9 +1253,11 @@ _help(void)
|
|||
"Where PROFILE can be one of:\n");
|
||||
|
||||
for (i = 0; resolutions[i].name; ++i)
|
||||
fprintf(stderr, " %s", resolutions[i].name);
|
||||
if (strlen(resolutions[i].name) >= 7)
|
||||
fprintf(stderr, " %s [ %i x %i ]\n", resolutions[i].name, resolutions[i].width, resolutions[i].height);
|
||||
else
|
||||
fprintf(stderr, " %s\t [ %i x %i ]\n", resolutions[i].name, resolutions[i].width, resolutions[i].height);
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue