If -vv, then print out each command as it's run.
SVN-Revision: 1183
va_start(ap, fmt);
vsprintf(buff, fmt, ap);
+ if (verbose > 1)
+ printf("Cmd: %s\n", buff);
r = system(buff);
va_end(ap);
return (r);
}
failure:
+ printf("Unable to locate known reference file %s\n", KNOWNREF);
+ printf(" Checked following directories:\n%s\n", tried);
#if defined(_WIN32) && !defined(__CYGWIN__) && defined(_DEBUG)
DebugBreak();
#endif
- printf("Unable to locate known reference file %s\n", KNOWNREF);
- printf(" Checked following directories:\n%s\n", tried);
exit(1);
success:
refdir = option_arg;
break;
case 'v':
- verbose = 1;
+ verbose ++;
break;
default:
usage(progname);