| 17 | } |
| 18 | |
| 19 | extern "C" void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) { |
| 20 | if (2 == argc) { |
| 21 | for (TStringBuf all = opts, versionOpt; all.NextTok(';', versionOpt);) { |
| 22 | if (versionOpt == argv[1]) { |
| 23 | PrintSvnVersionAndExit0(); |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | extern "C" void PrintSvnVersionAndExit(int argc, char* argv[]) { |
| 30 | PrintSvnVersionAndExitEx(argc, argv, "--version"); |
no test coverage detected