1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

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 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 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 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> David Woodhouse <dwmw2@infradead.org>
for his help in replacing the get/put_unaligned() macros from asm/unaligned.h with 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. 'sed' call.
- Updated the Swedish OSD texts (thanks to Tomas Prybil). - Updated the Swedish OSD texts (thanks to Tomas Prybil).
- Modified the German OSD texts to be "less technical" (thanks to Andreas Brachold). - 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 * 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> #include <getopt.h>
@ -422,7 +422,7 @@ int main(int argc, char *argv[])
); );
} }
if (DisplayVersion) 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 (PluginManager.HasPlugins()) {
if (DisplayHelp) if (DisplayHelp)
printf("Plugins: vdr -P\"name [OPTIONS]\"\n\n"); printf("Plugins: vdr -P\"name [OPTIONS]\"\n\n");