7 main(int argc
, char **argv
)
11 for (i
= 1; i
< argc
; i
++) {
12 for (j
= 0; j
< videomode_count
; j
++) {
13 if (strcmp(videomode_list
[j
].name
, argv
[i
]) == 0) {
14 printf("dotclock for mode %s = %d, flags %x\n",
16 videomode_list
[j
].dot_clock
,
17 videomode_list
[j
].flags
);
21 if (j
== videomode_count
) {
22 printf("dotclock for mode %s not found\n", argv
[i
]);