summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-27 12:35:45 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-27 12:35:45 +0100
commitf2d8f17018263e31976abdc234235139200c0ad8 (patch)
tree7af40e4672683607ef0a8b5fe68d4decf58e06b1
parent083ee1f74e1eaf7bc346e20a813b88d8d4460a5e (diff)
downloadvdr-f2d8f17018263e31976abdc234235139200c0ad8.tar.gz
vdr-f2d8f17018263e31976abdc234235139200c0ad8.tar.bz2
Removed an obsolete command line option
-rw-r--r--PLUGINS/src/pictures/HISTORY4
-rw-r--r--PLUGINS/src/pictures/pictures.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/PLUGINS/src/pictures/HISTORY b/PLUGINS/src/pictures/HISTORY
index 5ea878fd..19c968ad 100644
--- a/PLUGINS/src/pictures/HISTORY
+++ b/PLUGINS/src/pictures/HISTORY
@@ -67,3 +67,7 @@ VDR Plugin 'pictures' Revision History
2012-02-17:
- cReadDir::Next() now skips directory entries "." and "..".
+
+2012-02-27: Version 0.1.2
+
+- Removed an obsolete command line option.
diff --git a/PLUGINS/src/pictures/pictures.c b/PLUGINS/src/pictures/pictures.c
index 77fb4216..57121b5e 100644
--- a/PLUGINS/src/pictures/pictures.c
+++ b/PLUGINS/src/pictures/pictures.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: pictures.c 2.4 2012/02/17 14:00:48 kls Exp $
+ * $Id: pictures.c 2.5 2012/02/27 12:35:45 kls Exp $
*/
#include <getopt.h>
@@ -11,7 +11,7 @@
#include "menu.h"
#include "player.h"
-static const char *VERSION = "0.1.1";
+static const char *VERSION = "0.1.2";
static const char *DESCRIPTION = trNOOP("A simple picture viewer");
static const char *MAINMENUENTRY = trNOOP("Pictures");
@@ -86,7 +86,7 @@ bool cPluginPictures::ProcessArgs(int argc, char *argv[])
};
int c;
- while ((c = getopt_long(argc, argv, "d:s:", long_options, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "d:", long_options, NULL)) != -1) {
switch (c) {
case 'd': strn0cpy(PictureDirectory, optarg, sizeof(PictureDirectory));
break;