From 5ed67e6afaeab780f10ae7a968898001d026bf49 Mon Sep 17 00:00:00 2001 From: pontscho Date: Wed, 9 May 2001 14:17:55 +0000 Subject: [PATCH] '--help' bug fixed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@738 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 6 +++--- help_mp.h | 2 +- 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 \n" "\n"; -static char* help_text= +static char help_text[]= "\nUsage: mplayer [options] [path/]name\n" "\n" " Options:\n"