less verbosity is better

This commit is contained in:
tTh
2024-03-25 12:45:15 +01:00
parent fc9b6571f3
commit 681899b06d
3 changed files with 11 additions and 12 deletions

View File

@@ -89,7 +89,7 @@ for (idx=0; idx<globbuf.gl_pathc; idx++) {
return -1;
}
if (0 == idx) {
if (0==idx && verbosity) {
fprintf(stderr, "image size %dx%d\n",
image.width, image.height);
}
@@ -113,7 +113,7 @@ for (idx=0; idx<globbuf.gl_pathc; idx++) {
}
}
fprintf(stderr, "\n\n");
fprintf(stderr, "\n");
globfree(&globbuf);
@@ -157,7 +157,7 @@ int repeat = 1;
fprintf(stderr, "*** %s\n\tcompiled %s %s\n", argv[0],
__DATE__, __TIME__);
fimg_print_version(2);
if (verbosity) fimg_print_version(2);
if (argc < 2) {
fprintf(stderr, "\t/!\\ %s is option driven\n", argv[0]);
@@ -187,7 +187,6 @@ while ((opt = getopt(argc, argv, "hF:g:LO:r:svx")) != -1) {
fprintf(stderr, "%s ABEND\n", argv[0]);
exit(1);
}
}
if (repeat < 1) {
@@ -216,7 +215,7 @@ if (verbosity) {
*/
foo = run_the_singlepass(globbing, outdir, repeat,
FILTERS, FILE_TYPE_PNG);
fprintf(stderr, "\n\tRun the single pass --> %d\n", foo);
fprintf(stderr, "\tRun the single pass --> %d\n", foo);
return 0;
}