diff options
author | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-09-04 09:24:00 +0000 |
---|---|---|
committer | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-09-04 09:24:00 +0000 |
commit | 22cedb0c0bb5345d92b67216f792810e75c75241 (patch) | |
tree | 70f6d95d5dfe4aff68f1704fcbcc11ebb798a560 | |
parent | f352045259e69420324b1cb3877a8abf8fc0e3b4 (diff) | |
download | vdr-plugin-muggle-22cedb0c0bb5345d92b67216f792810e75c75241.tar.gz vdr-plugin-muggle-22cedb0c0bb5345d92b67216f792810e75c75241.tar.bz2 |
Corrected command line option parse string.
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@142 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r-- | muggle.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 ); |