F_CNT
for (fmt = F_CNT - 1; !hdr->fmt && fmt; fmt--)
for (i = 0; i < F_CNT && strcmp(arg, fmtlist[i]); i++);
if (i == F_CNT)