| 95 | |
| 96 | |
| 97 | void PrintInfo() |
| 98 | { |
| 99 | cerr << "Leanify\t" << VERSION_STR << endl << endl; |
| 100 | cerr << "Usage: leanify [options] paths\n" |
| 101 | " -i, --iteration <iteration> More iterations produce better result, but\n" |
| 102 | " use more time, default is 15.\n" |
| 103 | " -d, --max_depth <max depth> Maximum recursive depth, unlimited by default.\n" |
| 104 | " Set to 1 will disable recursive minifying.\n" |
| 105 | " -f, --fastmode Fast mode, no recompression.\n" |
| 106 | " -q, --quiet No output to stdout.\n" |
| 107 | " -v, --verbose Verbose output.\n" |
| 108 | " --keep-exif Do not remove Exif.\n"; |
| 109 | PauseIfNotTerminal(); |
| 110 | } |
| 111 | |
| 112 | |
| 113 | #ifdef _WIN32 |
no test coverage detected