From 0c2a18cbcdbaa931cb151692a340c0b4cab05028 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Mon, 21 Dec 2009 02:12:34 +0000 Subject: Split show_usage() out of show_help(). Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffplay.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ffplay.c') diff --git a/ffplay.c b/ffplay.c index e0b248e..a254203 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2490,11 +2490,16 @@ static const OptionDef options[] = { { NULL, }, }; -static void show_help(void) +static void show_usage(void) { printf("Simple media player\n"); printf("usage: ffplay [options] input_file\n"); printf("\n"); +} + +static void show_help(void) +{ + show_usage(); show_help_options(options, "Main options:\n", OPT_EXPERT, 0); show_help_options(options, "\nAdvanced options:\n", -- cgit v1.1