summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-09 14:17:55 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-09 14:17:55 +0000
commit5ed67e6afaeab780f10ae7a968898001d026bf49 (patch)
treea30cf9553a3d9e3aeb9cfd2de960a6c5575d979c
parent30ef3699e172d5fd130c406b0a7a277345456e34 (diff)
downloadmpv-5ed67e6afaeab780f10ae7a968898001d026bf49.tar.bz2
mpv-5ed67e6afaeab780f10ae7a968898001d026bf49.tar.xz
'--help' bug fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@738 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--cfg-mplayer.h6
-rw-r--r--help_mp.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 31e6ff2bd1..e6e6bee8d9 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -125,9 +125,9 @@ struct config conf[]={
{"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}
};
diff --git a/help_mp.h b/help_mp.h
index 04b94683a7..02bab9ce95 100644
--- a/help_mp.h
+++ b/help_mp.h
@@ -3,7 +3,7 @@ static char* banner_text=
"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"