Browse Source

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

Originally committed as revision 20906 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Ramiro Polla 16 years ago
parent
commit
870e015048
4 changed files with 6 additions and 3 deletions
  1. +3
    -0
      cmdutils_common_opts.h
  2. +1
    -1
      doc/ffmpeg-doc.texi
  3. +1
    -1
      doc/ffplay-doc.texi
  4. +1
    -1
      doc/ffserver-doc.texi

+ 3
- 0
cmdutils_common_opts.h View File

@@ -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" },


+ 1
- 1
doc/ffmpeg-doc.texi View File

@@ -228,7 +228,7 @@ specified for the inputs.
@item -L
Show license.

@item -h
@item -h, -?, -help, --help
Show help.

@item -version


+ 1
- 1
doc/ffplay-doc.texi View File

@@ -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.


+ 1
- 1
doc/ffserver-doc.texi View File

@@ -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