Commit 720bedcf authored by takis's avatar takis

Implement ffserver -version.

Patch by: Stefano Sabatini, stefano.sabatini-lala poste it


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13234 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cc2a825f
......@@ -196,6 +196,8 @@ ffserver [options]
@section Options
@c man begin OPTIONS
@table @option
@item -version
Show version.
@item -L
Print the license.
@item -h
......
......@@ -4349,6 +4349,7 @@ static void opt_show_help(void)
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" },
{ "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" },
{ "d", 0, {(void*)opt_debug}, "enable debug mode" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment