aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-12-21 02:20:13 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-12-21 02:20:13 +0000
commit870e015048bccbef22bcbd86351d4bc8edb41924 (patch)
treeaa88a61debfa622ed74483fedcfe71efd7575132
parent7f11e745b27bfbac6b2a18daffc44173530bd6d5 (diff)
downloadffmpeg-870e015048bccbef22bcbd86351d4bc8edb41924.tar.gz
Add -?, -help, and --help as alternative options to get help.
Originally committed as revision 20906 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--cmdutils_common_opts.h3
-rw-r--r--doc/ffmpeg-doc.texi2
-rw-r--r--doc/ffplay-doc.texi2
-rw-r--r--doc/ffserver-doc.texi2
4 files changed, 6 insertions, 3 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h
index 1c89bba198..0a456bc1fe 100644
--- a/cmdutils_common_opts.h
+++ b/cmdutils_common_opts.h
@@ -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" },
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index a0ab60d448..f5c0e64175 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -228,7 +228,7 @@ specified for the inputs.
@item -L
Show license.
-@item -h
+@item -h, -?, -help, --help
Show help.
@item -version
diff --git a/doc/ffplay-doc.texi b/doc/ffplay-doc.texi
index f7b8f87f33..a544d61196 100644
--- a/doc/ffplay-doc.texi
+++ b/doc/ffplay-doc.texi
@@ -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.
diff --git a/doc/ffserver-doc.texi b/doc/ffserver-doc.texi
index aabf33050b..8f0903f04a 100644
--- a/doc/ffserver-doc.texi
+++ b/doc/ffserver-doc.texi
@@ -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.