This commit is contained in:
tth 2022-04-17 04:20:35 +02:00
parent 27e42a0ddd
commit 263e254980
1 changed files with 3 additions and 2 deletions

View File

@ -77,8 +77,9 @@ puts("Usage:\tmkfimg [options] quux.fimg width height");
puts("\t-k N.N\tgive a float parameter");
puts("\t-L\tlist howto make a pic");
fputs("\t-t bla\thowto make the pic :\n\t\t | ", stdout);
puts("\t-m\tadd faked metadata");
fputs("\t-t bla\thowto make the pic :\n\t\t | ", stdout);
for (foo=cc=0; types[foo].code; foo++) {
cc += printf("%s ", types[foo].name);
if (cc>35) { cc=0; printf("\n\t\t | "); }
@ -179,7 +180,7 @@ switch(type) {
}
if (wrmdata) {
fprintf(stderr, "%s: warning, metadata is bogus\n", argv[0]);
// fprintf(stderr, "%s: warning, metadata is bogus\n", argv[0]);
(void)fimg_default_metadata(&metadata);
sprintf(metadata.idcam, "mkfimg (libv %d)", FIMG_VERSION);
foo = fimg_dumpmd_to_file(&fimg, fname, &metadata, 0);