Extended the version number reported with the '-V' option to also show the current APIVERSION

This commit is contained in:
Klaus Schmidinger 2006-04-22 11:28:37 +02:00
parent d48630a04e
commit f353cb7c64
3 changed files with 6 additions and 2 deletions

View File

@ -1638,6 +1638,8 @@ Thomas G
for making the 'new' indicator in the Recordings menu kept up-to-date
for reporting a crash when setting the time transponder in the Setup menu
for reporting a bug in the initial setting of the time transponder setup parameter
for suggesting to extend the version number reported with the '-V' option to also
show the current APIVERSION
David Woodhouse <dwmw2@infradead.org>
for his help in replacing the get/put_unaligned() macros from asm/unaligned.h with

View File

@ -4637,3 +4637,5 @@ Video Disk Recorder Revision History
'sed' call.
- Updated the Swedish OSD texts (thanks to Tomas Prybil).
- Modified the German OSD texts to be "less technical" (thanks to Andreas Brachold).
- Extended the version number reported with the '-V' option to also show the
current APIVERSION (suggested by Thomas Günther).

4
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
* $Id: vdr.c 1.263 2006/04/21 14:51:21 kls Exp $
* $Id: vdr.c 1.264 2006/04/22 11:26:04 kls Exp $
*/
#include <getopt.h>
@ -422,7 +422,7 @@ int main(int argc, char *argv[])
);
}
if (DisplayVersion)
printf("vdr (%s) - The Video Disk Recorder\n", VDRVERSION);
printf("vdr (%s/%s) - The Video Disk Recorder\n", VDRVERSION, APIVERSION);
if (PluginManager.HasPlugins()) {
if (DisplayHelp)
printf("Plugins: vdr -P\"name [OPTIONS]\"\n\n");