]> git.sesse.net Git - ffmpeg/commitdiff
Cosmetics: display ffmpeg -h generic advanced options just after
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 17 Jun 2008 10:11:46 +0000 (10:11 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 17 Jun 2008 10:11:46 +0000 (10:11 +0000)
generic non-advanced options.

Originally committed as revision 13794 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 36d9f372d6e35cf1570acae6ef96fd34bb746b14..8cfa7b348ed6faa979c3eaafec25a5a13dae1215 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3401,6 +3401,9 @@ static void show_help(void)
     printf("\n");
     show_help_options(options, "Main options:\n",
                       OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE | OPT_GRAB, 0);
+    show_help_options(options, "\nAdvanced options:\n",
+                      OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE | OPT_GRAB,
+                      OPT_EXPERT);
     show_help_options(options, "\nVideo options:\n",
                       OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_GRAB,
                       OPT_VIDEO);
@@ -3419,9 +3422,6 @@ static void show_help(void)
     show_help_options(options, "\nAudio/Video grab options:\n",
                       OPT_GRAB,
                       OPT_GRAB);
-    show_help_options(options, "\nAdvanced options:\n",
-                      OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE | OPT_GRAB,
-                      OPT_EXPERT);
     printf("\n");
     av_opt_show(avctx_opts[0], NULL);
     printf("\n");