| 25 | static const TStringBuf SPad = " "; |
| 26 | |
| 27 | void PrintVersionAndExit(const TOptsParser*) { |
| 28 | Cout << (NLastGetoptPrivate::VersionString() ? NLastGetoptPrivate::VersionString() : "program version: not linked with library/cpp/getopt") << Endl; |
| 29 | exit(NLastGetoptPrivate::VersionString().empty()); |
| 30 | } |
| 31 | |
| 32 | void PrintShortVersionAndExit(const TString& appName) { |
| 33 | Cout << appName << " version " << (NLastGetoptPrivate::ShortVersionString() ? NLastGetoptPrivate::ShortVersionString() : "not linked with library/cpp/getopt") << Endl; |
no test coverage detected