Removed an obsolete command line option

This commit is contained in:
Klaus Schmidinger 2012-02-27 12:35:45 +01:00
parent 083ee1f74e
commit f2d8f17018
2 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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;