1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

'--help' bug fixed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@738 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-05-09 14:17:55 +00:00
parent 30ef3699e1
commit 5ed67e6afa
2 changed files with 4 additions and 4 deletions

View File

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

View File

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