Add a general [options] to the basic usage string.
authorRamiro Polla <ramiro.polla@gmail.com>
Mon, 21 Dec 2009 02:10:14 +0000 (02:10 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Mon, 21 Dec 2009 02:10:14 +0000 (02:10 +0000)
Originally committed as revision 20903 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 2e3c610..0c578ed 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3567,7 +3567,7 @@ static void show_help(void)
 {
     av_log_set_callback(log_callback_help);
     printf("Hyper fast Audio and Video encoder\n");
-    printf("usage: ffmpeg [[infile options] -i infile]... {[outfile options] outfile}...\n");
+    printf("usage: ffmpeg [options] [[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);