Browse code

avconv: print info/capabilities options in a separate help group.

Anton Khirnov authored on 2012/08/14 15:21:42
Showing 1 changed files
... ...
@@ -1794,8 +1794,11 @@ void show_help_default(const char *opt, const char *arg)
1794 1794
     int flags = AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM;
1795 1795
 
1796 1796
     show_usage();
1797
+    show_help_options(options, "Print help / information / capabilities:",
1798
+                      OPT_EXIT, 0);
1797 1799
     show_help_options(options, "Main options:",
1798
-                      0, OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE);
1800
+                      0, OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE |
1801
+                      OPT_EXIT);
1799 1802
     show_help_options(options, "Advanced options:",
1800 1803
                       OPT_EXPERT, OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE);
1801 1804
     show_help_options(options, "Video options:",