1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-29 16:23:10 +02:00

First print the program description and then the basic usage line.

Originally committed as revision 20902 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla 2009-12-21 02:09:17 +00:00
parent aaba7e6c66
commit 27daa420fc
2 changed files with 4 additions and 4 deletions

View File

@ -3566,8 +3566,8 @@ static void log_callback_help(void* ptr, int level, const char* fmt, va_list vl)
static void show_help(void)
{
av_log_set_callback(log_callback_help);
printf("usage: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}...\n"
"Hyper fast Audio and Video encoder\n");
printf("Hyper fast Audio and Video encoder\n");
printf("usage: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}...\n");
printf("\n");
show_help_options(options, "Main options:\n",
OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE | OPT_GRAB, 0);

View File

@ -2492,8 +2492,8 @@ static const OptionDef options[] = {
static void show_help(void)
{
printf("usage: ffplay [options] input_file\n"
"Simple media player\n");
printf("Simple media player\n");
printf("usage: ffplay [options] input_file\n");
printf("\n");
show_help_options(options, "Main options:\n",
OPT_EXPERT, 0);