| 1966 | } |
| 1967 | |
| 1968 | void ASConsole::printVerboseHeader() const |
| 1969 | { |
| 1970 | assert(isVerbose); |
| 1971 | if (isQuiet) |
| 1972 | return; |
| 1973 | // get the date |
| 1974 | struct tm* ptr; |
| 1975 | time_t lt; |
| 1976 | char str[20]; |
| 1977 | lt = time(NULL); |
| 1978 | ptr = localtime(<); |
| 1979 | strftime(str, 20, "%x", ptr); |
| 1980 | // print the header |
| 1981 | printf("Artistic Style %s %s\n", g_version, str); |
| 1982 | // print options file |
| 1983 | if (!optionsFileName.empty()) |
| 1984 | printf(_("Using default options file %s\n"), optionsFileName.c_str()); |
| 1985 | } |
| 1986 | |
| 1987 | void ASConsole::printVerboseStats(clock_t startTime) const |
| 1988 | { |
nothing calls this directly
no outgoing calls
no test coverage detected