summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-09-04 09:42:31 +0000
committerlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-09-04 09:42:31 +0000
commit50064531613ddaca9afa0f42076fbba4c405f564 (patch)
treec235023c7b8abc1a3c33ae1ef97a76e141541ce6
parent22ffd9ac0f781240090b4e36529314e8ff04a76e (diff)
downloadvdr-plugin-muggle-50064531613ddaca9afa0f42076fbba4c405f564.tar.gz
vdr-plugin-muggle-50064531613ddaca9afa0f42076fbba4c405f564.tar.bz2
Corrected command line options
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/branches/ogg_player@143 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r--muggle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/muggle.c b/muggle.c
index 5a5df21..a9b6c75 100644
--- a/muggle.c
+++ b/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 );