changeset 737:e8d5e6d4d85f

'--help' bug fixed
author pontscho
date Wed, 09 May 2001 14:17:55 +0000
parents 59b0a9ec8604
children 7705b51ab518
files cfg-mplayer.h help_mp.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mplayer.h	Wed May 09 07:59:55 2001 +0000
+++ b/cfg-mplayer.h	Wed May 09 14:17:55 2001 +0000
@@ -125,9 +125,9 @@
         
 	{"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100},
 	{"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0},
-//	{"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
-//	{"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
-//	{"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
+	{"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
+	{"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
+	{"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
 	{NULL, NULL, 0, 0, 0, 0}
 };
 
--- a/help_mp.h	Wed May 09 07:59:55 2001 +0000
+++ b/help_mp.h	Wed May 09 14:17:55 2001 +0000
@@ -3,7 +3,7 @@
 "MPlayer " VERSION "  (C) 2000-2001 Arpad Gereoffy <arpi@thot.banki.hu>\n"
 "\n";
 
-static char* help_text=
+static char help_text[]=
 "\nUsage:   mplayer [options] [path/]name\n"
 "\n"
 "  Options:\n"