added svn revision number to version string (commands <-v> and <-V>, startup log entry); svn revision is automatically read from svn-repository on each build

This commit is contained in:
Andrey Prygunkov
2009-04-17 21:53:00 +00:00
parent 18d3e0db42
commit c8e7cc856f
8 changed files with 125 additions and 12 deletions

View File

@@ -773,7 +773,7 @@ void Options::InitCommandLine(int argc, char* argv[])
exit(0);
break;
case 'v':
printf("nzbget version: %s\n", VERSION);
printf("nzbget version: %s\n", Util::VersionRevision());
exit(1);
break;
case 'p':