diff --git a/doc/ffserver-doc.texi b/doc/ffserver-doc.texi
index 4de2bf5bab6b522d554efa9bafc275e9be5f5c1b..589e58fca88b08adbaaf57d483a6762ffd57936f 100644
--- a/doc/ffserver-doc.texi
+++ b/doc/ffserver-doc.texi
@@ -200,6 +200,8 @@ ffserver [options]
 Show version.
 @item -L
 Print the license.
+@item -formats
+Show available formats, codecs, protocols, ...
 @item -h
 Print the help.
 @item -f @var{configfile}
diff --git a/ffserver.c b/ffserver.c
index 2a27fe8b0f2d9f5d5041c61d1d1b5bcedbd5da25..986bd694abfcf610a2aa3b53eb6564915e42dd38 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4351,6 +4351,7 @@ static const OptionDef options[] = {
     { "h", OPT_EXIT, {(void*)opt_show_help}, "show help" },
     { "version", OPT_EXIT, {(void*)show_version}, "show version" },
     { "L", OPT_EXIT, {(void*)show_license}, "show license" },
+    { "formats", OPT_EXIT, {(void*)show_formats}, "show available formats, codecs, protocols, ..." },
     { "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" },
     { "d", 0, {(void*)opt_debug}, "enable debug mode" },
     { "f", HAS_ARG | OPT_STRING, {(void*)&config_filename }, "use configfile instead of /etc/ffserver.conf", "configfile" },