aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-13 20:06:25 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-19 19:22:08 +0200
commita3ad68d36c0bff87c525035b3f745bb274b00d41 (patch)
tree7006e5f920a7e3ee891180ee142f0038739c668d /doc
parent7c5012127fb7e18f0616011257bb4248f6a8b608 (diff)
downloadffmpeg-a3ad68d36c0bff87c525035b3f745bb274b00d41.tar.gz
cmdutils: extend -h to allow printing codec details.
Diffstat (limited to 'doc')
-rw-r--r--doc/avtools-common-opts.texi16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/avtools-common-opts.texi b/doc/avtools-common-opts.texi
index 375e4b041c..eefb37bfcf 100644
--- a/doc/avtools-common-opts.texi
+++ b/doc/avtools-common-opts.texi
@@ -51,8 +51,20 @@ These options are shared amongst the av* tools.
@item -L
Show license.
-@item -h, -?, -help, --help
-Show help.
+@item -h, -?, -help, --help [@var{arg}]
+Show help. An optional parameter may be specified to print help about a specific
+item.
+
+Possible values of @var{arg} are:
+@table @option
+@item decoder=@var{decoder_name}
+Print detailed information about the decoder named @var{decoder_name}. Use the
+@option{-decoders} option to get a list of all decoders.
+
+@item encoder=@var{encoder_name}
+Print detailed information about the encoder named @var{encoder_name}. Use the
+@option{-encoders} option to get a list of all encoders.
+@end table
@item -version
Show version.