You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
Implement ffserver -version.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13234 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Panagiotis Issaris
parent
20176cbc73
commit
8117c97e12
@@ -196,6 +196,8 @@ ffserver [options]
|
|||||||
@section Options
|
@section Options
|
||||||
@c man begin OPTIONS
|
@c man begin OPTIONS
|
||||||
@table @option
|
@table @option
|
||||||
|
@item -version
|
||||||
|
Show version.
|
||||||
@item -L
|
@item -L
|
||||||
Print the license.
|
Print the license.
|
||||||
@item -h
|
@item -h
|
||||||
|
@@ -4349,6 +4349,7 @@ static void opt_show_help(void)
|
|||||||
|
|
||||||
static const OptionDef options[] = {
|
static const OptionDef options[] = {
|
||||||
{ "h", OPT_EXIT, {(void*)opt_show_help}, "show help" },
|
{ "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" },
|
{ "L", OPT_EXIT, {(void*)show_license}, "show license" },
|
||||||
{ "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" },
|
{ "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" },
|
||||||
{ "d", 0, {(void*)opt_debug}, "enable debug mode" },
|
{ "d", 0, {(void*)opt_debug}, "enable debug mode" },
|
||||||
|
Reference in New Issue
Block a user