Browse Source

Implement ffserver -version.

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

Originally committed as revision 13234 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini Panagiotis Issaris 18 years ago
parent
commit
8117c97e12
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      doc/ffserver-doc.texi
  2. +1
    -0
      ffserver.c

+ 2
- 0
doc/ffserver-doc.texi View File

@@ -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


+ 1
- 0
ffserver.c View File

@@ -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" },


Loading…
Cancel
Save