Add -?, -help, and --help as alternative options to get help.

Originally committed as revision 20906 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Ramiro Polla 15 years ago
parent 7f11e745b2
commit 870e015048
  1. 3
      cmdutils_common_opts.h
  2. 2
      doc/ffmpeg-doc.texi
  3. 2
      doc/ffplay-doc.texi
  4. 2
      doc/ffserver-doc.texi

@ -1,5 +1,8 @@
{ "L", OPT_EXIT, {(void*)show_license}, "show license" },
{ "h", OPT_EXIT, {(void*)show_help}, "show help" },
{ "?", OPT_EXIT, {(void*)show_help}, "show help" },
{ "help", OPT_EXIT, {(void*)show_help}, "show help" },
{ "-help", OPT_EXIT, {(void*)show_help}, "show help" },
{ "version", OPT_EXIT, {(void*)show_version}, "show version" },
{ "formats" , OPT_EXIT, {(void*)show_formats }, "show available formats" },
{ "codecs" , OPT_EXIT, {(void*)show_codecs }, "show available codecs" },

@ -228,7 +228,7 @@ specified for the inputs.
@item -L
Show license.
@item -h
@item -h, -?, -help, --help
Show help.
@item -version

@ -29,7 +29,7 @@ ffplay [options] @file{input_file}
@section Main options
@table @option
@item -h
@item -h, -?, -help, --help
Show help.
@item -version
Show version.

@ -251,7 +251,7 @@ Show available bitstream filters.
Show available protocols.
@item -filters
Show available libavfilter filters.
@item -h
@item -h, -?, -help, --help
Show help.
@item -loglevel @var{loglevel}
Set the logging level used by the library.

Loading…
Cancel
Save