1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Fixed command line help.

This commit is contained in:
Rolf Ahrenberg 2007-10-12 23:06:33 +00:00
parent 3fd72d9f29
commit 4919b89a33

6
iptv.c
View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: iptv.c,v 1.18 2007/10/12 21:43:18 ajhseppa Exp $ * $Id: iptv.c,v 1.19 2007/10/12 23:06:33 rahrenbe Exp $
*/ */
#include <getopt.h> #include <getopt.h>
@ -62,9 +62,7 @@ const char *cPluginIptv::CommandLineHelp(void)
{ {
debug("cPluginIptv::CommandLineHelp()\n"); debug("cPluginIptv::CommandLineHelp()\n");
// Return a string that describes all known command line options. // Return a string that describes all known command line options.
return cString::sprintf( return " -d <num>, --devices=<number> number of devices to be created (default: 1)\n";
" -d <number> --devices=<number> number of devices to be created (default: %d)\n",
deviceCount);
} }
bool cPluginIptv::ProcessArgs(int argc, char *argv[]) bool cPluginIptv::ProcessArgs(int argc, char *argv[])