summaryrefslogtreecommitdiff
path: root/muggle-plugin/muggle.c
diff options
context:
space:
mode:
authorlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-09-04 09:24:00 +0000
committerlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-09-04 09:24:00 +0000
commit82814326e60fda6d39446d7f2145398f3d37ec8e (patch)
tree8fb441e9c7e73f666cc52aa6d3f5efa7d1002b93 /muggle-plugin/muggle.c
parent26c260cd95514b801e8f7c05873d790aeacc48b2 (diff)
downloadvdr-plugin-muggle-82814326e60fda6d39446d7f2145398f3d37ec8e.tar.gz
vdr-plugin-muggle-82814326e60fda6d39446d7f2145398f3d37ec8e.tar.bz2
Corrected command line option parse string.
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@142 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'muggle-plugin/muggle.c')
-rw-r--r--muggle-plugin/muggle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/muggle-plugin/muggle.c b/muggle-plugin/muggle.c
index 5a5df21..a9b6c75 100644
--- a/muggle-plugin/muggle.c
+++ b/muggle-plugin/muggle.c
@@ -3,11 +3,11 @@
* \brief Implements a plugin for browsing media libraries within VDR
*
* \version $Revision: 1.10 $
- * \date $Date: 2004/07/29 06:18:07 $
+ * \date $Date$
* \author Ralf Klueber, Lars von Wedel, Andreas Kellner
- * \author Responsible author: $Author: lvw $
+ * \author Responsible author: $Author$
*
- * $Id: muggle.c,v 1.10 2004/07/29 06:18:07 lvw Exp $
+ * $Id$
*/
#include <getopt.h>
@@ -93,7 +93,7 @@ bool mgMuggle::ProcessArgs(int argc, char *argv[])
};
int c, option_index = 0;
- while( ( c = getopt_long( argc, argv, "h:p:u:w:g:", long_options, &option_index ) ) != -1 )
+ while( ( c = getopt_long( argc, argv, "h:p:u:n:t:w:g:", long_options, &option_index ) ) != -1 )
{
switch (c)
{
@@ -104,7 +104,7 @@ bool mgMuggle::ProcessArgs(int argc, char *argv[])
case 'n':
{
the_setup.DbName = optarg;
- }
+ } break;
case 'p':
{
the_setup.DbPort = atoi( optarg );