diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 02:12:34 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 02:12:34 +0000 |
commit | 0c2a18cbcdbaa931cb151692a340c0b4cab05028 (patch) | |
tree | 63d4d1590cb0db54c19f6ded327ae7a978e830a8 /ffplay.c | |
parent | 8319aefeecdba4970586346aac0481e2ceb4e90b (diff) | |
download | ffmpeg-0c2a18cbcdbaa931cb151692a340c0b4cab05028.tar.gz |
Split show_usage() out of show_help().
Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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", |