1
mirror of https://github.com/mpv-player/mpv synced 2024-10-02 16:25:33 +02:00

Make -xy help output consistent, output an empty line before and after.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17728 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-03-04 17:33:56 +00:00
parent 0a163ed4e4
commit 1cbeb57911
3 changed files with 3 additions and 2 deletions

View File

@ -524,7 +524,7 @@ m_option_t msgl_config[]={
{ "afilter", &mp_msg_levels[MSGT_AFILTER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL }, { "afilter", &mp_msg_levels[MSGT_AFILTER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
{ "netst", &mp_msg_levels[MSGT_NETST], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL }, { "netst", &mp_msg_levels[MSGT_NETST], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
{ "muxer", &mp_msg_levels[MSGT_MUXER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL }, { "muxer", &mp_msg_levels[MSGT_MUXER], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },
{"help", "\nAvailable msg mdoules:\n" {"help", "Available msg modules:\n"
" global - common player errors/information\n" " global - common player errors/information\n"
" cplayer - console player (mplayer.c)\n" " cplayer - console player (mplayer.c)\n"
" gplayer - gui player\n" " gplayer - gui player\n"

View File

@ -240,7 +240,7 @@ void fstype_help(void)
"use _NETWM_STATE_STAYS_ON_TOP hint if available"); "use _NETWM_STATE_STAYS_ON_TOP hint if available");
mp_msg(MSGT_VO, MSGL_INFO, mp_msg(MSGT_VO, MSGL_INFO,
"You can also negate the settings with simply putting '-' in the beginning"); "You can also negate the settings with simply putting '-' in the beginning");
mp_msg(MSGT_VO, MSGL_INFO, "\n\n"); mp_msg(MSGT_VO, MSGL_INFO, "\n");
} }
static void fstype_dump(int fstype) static void fstype_dump(int fstype)

View File

@ -1584,6 +1584,7 @@ static int parse_obj_settings_list(m_option_t* opt,char *name,
mp_msg(MSGT_VFILTER,MSGL_INFO," %-15s: %s\n", mp_msg(MSGT_VFILTER,MSGL_INFO," %-15s: %s\n",
M_ST_MB(char*,ol->list[n],ol->name_off), M_ST_MB(char*,ol->list[n],ol->name_off),
M_ST_MB(char*,ol->list[n],ol->info_off)); M_ST_MB(char*,ol->list[n],ol->info_off));
mp_msg(MSGT_VFILTER,MSGL_INFO,"\n");
return M_OPT_EXIT - 1; return M_OPT_EXIT - 1;
} }
ptr = str = strdup(param); ptr = str = strdup(param);