diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | osdteletext.c | 13 |
2 files changed, 3 insertions, 11 deletions
@@ -6,6 +6,7 @@ VDR Plugin 'osdteletext' Revision History - Updated Italian translation by Davide Cavalca - Removed the "OSD" from the main menu entry as suggested by Davide Cavalca - Added Ukrainian translation provided by Yarema P. aka Knedlyk +- Removed obsolete options -R and -r 2008-12-19: version 0.7.0 - switched completely to VDR 1.6's I18N system and removed the old crap - no diff --git a/osdteletext.c b/osdteletext.c index eb65ada..5028f4c 100644 --- a/osdteletext.c +++ b/osdteletext.c @@ -132,10 +132,7 @@ const char *cPluginTeletextosd::CommandLineHelp(void) " Choose \"legacy\" for the traditional\n" " one-file-per-page system.\n" " Default is \"packed\" for the \n" - " one-file-for-a-few-pages system.\n" - " -R, --no-receive Do not receive and store teletext\n" - " (deprecated - plugin will be useless).\n" - " -r, --receive (obsolete)\n"; + " one-file-for-a-few-pages system.\n"; } bool cPluginTeletextosd::ProcessArgs(int argc, char *argv[]) @@ -145,14 +142,12 @@ bool cPluginTeletextosd::ProcessArgs(int argc, char *argv[]) { "directory", required_argument, NULL, 'd' }, { "max-cache", required_argument, NULL, 'n' }, { "cache-system", required_argument, NULL, 's' }, - { "no-receiver", no_argument, NULL, 'R' }, - { "receive", no_argument, NULL, 'r' }, { NULL } }; int c; int maxStorage=-1; - while ((c = getopt_long(argc, argv, "s:d:n:Rr", long_options, NULL)) != -1) { + while ((c = getopt_long(argc, argv, "s:d:n:", long_options, NULL)) != -1) { switch (c) { case 's': if (!optarg) @@ -169,10 +164,6 @@ bool cPluginTeletextosd::ProcessArgs(int argc, char *argv[]) maxStorage=n; } break; - case 'R': startReceiver=false; - break; - case 'r': startReceiver=true; - break; } } //do this here because the option -s to change the storage system might be given |